{ "info": { "author": "Developereva", "author_email": "developereva@protonmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# keitaro\r\n\r\nkeitaro is a simple and easy to use API wrapper library for [Keitaro](https://keitaro.io/) Admin API written in Python3 and [aiohttp](https://pypi.org/project/aiohttp/)\r\n\r\n## \ud83d\udcc4 Official Keitaro resources\r\n\r\n- [Keitaro Website](https://keitaro.io/)\r\n- [Admin API documentation](https://admin-api.docs.keitaro.io/)\r\n- [Technical Support](https://t.me/keitarobot)\r\n\r\n## \ud83d\udcd6 Getting Started\r\n\r\n### Installation\r\n\r\nPypi package is not updated, you can build it using setup.py\r\n\r\n### Keitaro tracker initialization\r\n\r\nBegin by importing Keitaro class from aiokeitaro module and passing Admin API key and URL of Keitaro tracker to it\r\n\r\n```python\r\nfrom aiokeitaro import Keitaro\r\n\r\napi = Keitaro('API KEY', 'URL with http or https (if is domain)')\r\n```\r\n\r\n## \ud83d\udcda Examples\r\n\r\nIf API request was successful, status code 200 will be received and a response in the json format.\r\n\r\n```python\r\nimport asyncio\r\nfrom aiokeitaro import Keitaro, Offer\r\n\r\nasync def main():\r\n api = Keitaro('API KEY', 'URL with http or https (if is domain)')\r\n \r\n # Create an instance of the Offer class\r\n offer = Offer(api)\r\n \r\n # Call the get method on the instance\r\n ss = await offer.get()\r\n print(ss)\r\n\r\n# run main.py\r\nasyncio.run(main())\r\n\r\n```\r\n\r\n
\r\n \r\n Click to see a response sample\r\n \r\n Admin API reference\r\n \r\n

\r\n {\r\n \"id\": 14,\r\n \"name\": \"string\",\r\n \"postback_url\": \"string\",\r\n \"offer_param\": \"string\",\r\n \"state\": \"string\",\r\n \"template_name\": \"string\",\r\n \"notes\": \"string\",\r\n \"pull_api_options\": \"string\",\r\n \"created_at\": \"string\",\r\n \"updated_at\": \"string\",\r\n \"offers\": \"string\"\r\n }\r\n

\r\n
\r\n\r\n### Get all offers or specific one\r\n\r\nTo get all offers call get() method without any arguments\r\n\r\n```python\r\nall_offers = await offer.get()\r\n```\r\n\r\nLet's try to get a specific offer by its id\r\n\r\n```python\r\ndummy_offer = await offer.get(21)\r\n```\r\n\r\nAs a result you'll get a response in JSON format\r\n\r\n
\r\n \r\n Click to see a response sample\r\n \r\n

\r\n [\r\n {\r\n \"id\": 21,\r\n \"name\": \"string\",\r\n \"group_id\": 0,\r\n \"action_type\": \"string\",\r\n \"action_payload\": \"string\",\r\n \"action_options\": [],\r\n \"affiliate_network_id\": 0,\r\n \"payout_value\": 0,\r\n \"payout_currency\": \"string\",\r\n \"payout_type\": \"string\",\r\n \"state\": \"string\",\r\n \"created_at\": {},\r\n \"updated_at\": {},\r\n \"payout_auto\": true,\r\n \"payout_upsell\": true,\r\n \"country\": [],\r\n \"notes\": \"string\",\r\n \"affiliate_network\": \"string\",\r\n \"archive\": \"string\",\r\n \"local_path\": \"string\",\r\n \"preview_path\": \"string\"\r\n }\r\n ]\r\n

\r\n
\r\n\r\n### Campaign creation\r\n\r\nTo create an advertising campaign, you can simply call create() method of the campaigns resource\r\n\r\n```python\r\npayload = {\r\n 'name': 'Dummy campaign',\r\n 'state': 'disabled',\r\n 'cost_type': 'CPC',\r\n 'cost_value': '5',\r\n 'cost_currency': 'USD',\r\n 'cost_auto': True\r\n}\r\n\r\ncampaign = await campaigns.create(payload)\r\n```\r\n\r\nThe non-asynchronous module is located here: https://github.com/ysomad/keitaro\r\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "dynamic": null, "home_page": "https://github.com/developerreva/aiokeitaro", "keywords": "python python3 api-client aiohttp api-wrapper keitaro keitaro-tracker keitaro-async", "license": null, "maintainer": null, "maintainer_email": null, "name": "aiokeitaro", "package_url": "https://pypi.org/project/aiokeitaro/", "platform": null, "project_url": "https://pypi.org/project/aiokeitaro/", "project_urls": { "Documentation": "https://github.com/developerreva/aiokeitaro#-getting-started", "Homepage": "https://github.com/developerreva/aiokeitaro", "Keitaro Admin API Documentation": "https://admin-api.docs.keitaro.io/", "Source Code": "https://github.com/developerreva/aiokeitaro" }, "provides_extra": null, "release_url": "https://pypi.org/project/aiokeitaro/1.0.3/", "requires_dist": [ "aiohttp" ], "requires_python": ">=3.6", "summary": "Unofficial Asynchronous Keitaro Admin API client", "version": "1.0.3", "yanked": false, "yanked_reason": null }, "last_serial": 23673563, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "blake2b_256": "304ccd5013de558d6703f846e8e8b976dfce6793772e5d4025248e3375caef5c", "md5": "194c13d58150be796830a977648603c9", "sha256": "936fa13baa8b8731e56331bf71ed964f01c66e5fef0ec8a7fb74cc4d38bbcb4a" }, "downloads": -1, "filename": "aiokeitaro-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "194c13d58150be796830a977648603c9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14639, "upload_time": "2024-04-23T10:57:33", "upload_time_iso_8601": "2024-04-23T10:57:33.789763Z", "url": "https://files.pythonhosted.org/packages/30/4c/cd5013de558d6703f846e8e8b976dfce6793772e5d4025248e3375caef5c/aiokeitaro-1.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "1e5c6ba59b9c823f23940ddf564ec008b0c1cefbcc4d7ddfc8fa32ac2b993064", "md5": "4652b11de70e13c61039e94d68562ed8", "sha256": "23dcd6bd636495925da76d505f1a5a5225059aa56423a5a15da315f8031853b4" }, "downloads": -1, "filename": "aiokeitaro-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4652b11de70e13c61039e94d68562ed8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10861, "upload_time": "2024-04-23T10:57:35", "upload_time_iso_8601": "2024-04-23T10:57:35.478279Z", "url": "https://files.pythonhosted.org/packages/1e/5c/6ba59b9c823f23940ddf564ec008b0c1cefbcc4d7ddfc8fa32ac2b993064/aiokeitaro-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "blake2b_256": "497f271e3b346fbe3ae9d10f0f3a7d32d2ce40773512d44fc40ddd4005998e4a", "md5": "be3241399bb295d89bcd54dfcdb262a5", "sha256": "00e0af8ce1f412ee8c6a1eaa1f520d0832f9c90a34d3cdf87dd8770bfe0b2fef" }, "downloads": -1, "filename": "aiokeitaro-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "be3241399bb295d89bcd54dfcdb262a5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14570, "upload_time": "2024-04-23T14:11:01", "upload_time_iso_8601": "2024-04-23T14:11:01.913326Z", "url": "https://files.pythonhosted.org/packages/49/7f/271e3b346fbe3ae9d10f0f3a7d32d2ce40773512d44fc40ddd4005998e4a/aiokeitaro-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "813b35f84a1b45b04b7471312b90436bc8d1a575bd4e94f96a37c1a6768bd90e", "md5": "78ef8488a4acbc3e91082fd573af4785", "sha256": "a8f24c0a6c785f4ea8af3c6aef00a8b438b1eb7e50009e639b4f182bd4ef4c5e" }, "downloads": -1, "filename": "aiokeitaro-1.0.1.tar.gz", "has_sig": false, "md5_digest": "78ef8488a4acbc3e91082fd573af4785", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10795, "upload_time": "2024-04-23T14:11:03", "upload_time_iso_8601": "2024-04-23T14:11:03.156277Z", "url": "https://files.pythonhosted.org/packages/81/3b/35f84a1b45b04b7471312b90436bc8d1a575bd4e94f96a37c1a6768bd90e/aiokeitaro-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "blake2b_256": "66fcb8ee3f7b23720a064acfd9c54c2a2bdb864a649342f7e355623b26ff9abe", "md5": "6e79cf97a12736f79b06c7ba217e2424", "sha256": "7e388e8ad6bc1db341bd4037d65b2ff51f4250bdd44f4eee70330bdbf6d09813" }, "downloads": -1, "filename": "aiokeitaro-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6e79cf97a12736f79b06c7ba217e2424", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14578, "upload_time": "2024-06-13T11:39:26", "upload_time_iso_8601": "2024-06-13T11:39:26.248273Z", "url": "https://files.pythonhosted.org/packages/66/fc/b8ee3f7b23720a064acfd9c54c2a2bdb864a649342f7e355623b26ff9abe/aiokeitaro-1.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "b742b152fc077ec671f8da165bbf7e7717092f191f711c87e25bd1ce7b9f2b6b", "md5": "39452f2a8fced5cd255c1668f857b5c8", "sha256": "eddc898005e91050bca6bf2da99759681c61530640e322ba92e1a6c58bd23a2e" }, "downloads": -1, "filename": "aiokeitaro-1.0.2.tar.gz", "has_sig": false, "md5_digest": "39452f2a8fced5cd255c1668f857b5c8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10848, "upload_time": "2024-06-13T11:39:28", "upload_time_iso_8601": "2024-06-13T11:39:28.250503Z", "url": "https://files.pythonhosted.org/packages/b7/42/b152fc077ec671f8da165bbf7e7717092f191f711c87e25bd1ce7b9f2b6b/aiokeitaro-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.3": [ { "comment_text": "", "digests": { "blake2b_256": "3b401f6f312aa6bf406261b2194fbd7f3579ec625fedf8a54007ff2b2d848eca", "md5": "8c954dd52ecc8e36983b9943a0cc7c15", "sha256": "85da07ee30de7551c1f41d364596a8cf0f5e024c5c972bdb2ddb07e6413546d5" }, "downloads": -1, "filename": "aiokeitaro-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8c954dd52ecc8e36983b9943a0cc7c15", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14657, "upload_time": "2024-06-14T09:17:45", "upload_time_iso_8601": "2024-06-14T09:17:45.663933Z", "url": "https://files.pythonhosted.org/packages/3b/40/1f6f312aa6bf406261b2194fbd7f3579ec625fedf8a54007ff2b2d848eca/aiokeitaro-1.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "ceb4c42e5b57070e501f21ba8075d4551342ae47213a9e1940aeeda4001e1650", "md5": "996dbc08246c0d895dc4f20141cb0c20", "sha256": "b80cd2708f3950ec32c3f029e3a655a61317b3b2dbb10af1f9a0c5a081841895" }, "downloads": -1, "filename": "aiokeitaro-1.0.3.tar.gz", "has_sig": false, "md5_digest": "996dbc08246c0d895dc4f20141cb0c20", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10974, "upload_time": "2024-06-14T09:17:47", "upload_time_iso_8601": "2024-06-14T09:17:47.154350Z", "url": "https://files.pythonhosted.org/packages/ce/b4/c42e5b57070e501f21ba8075d4551342ae47213a9e1940aeeda4001e1650/aiokeitaro-1.0.3.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "blake2b_256": "3b401f6f312aa6bf406261b2194fbd7f3579ec625fedf8a54007ff2b2d848eca", "md5": "8c954dd52ecc8e36983b9943a0cc7c15", "sha256": "85da07ee30de7551c1f41d364596a8cf0f5e024c5c972bdb2ddb07e6413546d5" }, "downloads": -1, "filename": "aiokeitaro-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8c954dd52ecc8e36983b9943a0cc7c15", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14657, "upload_time": "2024-06-14T09:17:45", "upload_time_iso_8601": "2024-06-14T09:17:45.663933Z", "url": "https://files.pythonhosted.org/packages/3b/40/1f6f312aa6bf406261b2194fbd7f3579ec625fedf8a54007ff2b2d848eca/aiokeitaro-1.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "ceb4c42e5b57070e501f21ba8075d4551342ae47213a9e1940aeeda4001e1650", "md5": "996dbc08246c0d895dc4f20141cb0c20", "sha256": "b80cd2708f3950ec32c3f029e3a655a61317b3b2dbb10af1f9a0c5a081841895" }, "downloads": -1, "filename": "aiokeitaro-1.0.3.tar.gz", "has_sig": false, "md5_digest": "996dbc08246c0d895dc4f20141cb0c20", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10974, "upload_time": "2024-06-14T09:17:47", "upload_time_iso_8601": "2024-06-14T09:17:47.154350Z", "url": "https://files.pythonhosted.org/packages/ce/b4/c42e5b57070e501f21ba8075d4551342ae47213a9e1940aeeda4001e1650/aiokeitaro-1.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }