{ "info": { "author": "Yuriy Orlov", "author_email": "navuchodonsr@yandex.ru", "bugtrack_url": null, "classifiers": [], "description": "# PyAppsFlyer\n\nUnofficial python erapper for AppsFlyer API.\nhttps://www.appsflyer.com/\n---\n\nFor working with this application you need to receive API_KEY in your\npersonal office on site.\n\n\n#### Getting performance data report\n\n---\n\n```python\nfrom pyappsflyer.api import PerformanceReport\n\nreport = PerformanceReport(api_key='your_api_key',\n application_name=\"your_application_name\",\n )\n\nreport.get_report()\n```\n\nDefault report is partners report. If you wish to change and receive another:\n```python\nfrom pyappsflyer.api import PerformanceReport\n\nreport = PerformanceReport(api_key='your_api_key',\n application_name=\"your_application_name\",\n )\n\nreport.get_report('daily_report')\n```\nIf report is not listed in available report you will be notified with an Exception.\nAll possible report are listed on application site. Please refer to them.\n\n---\nReport will be returned in python dict() type, so they can be easily transformed into JSON.\n\nAll method parameters:\n---\n* from_date - from what date to begin, date format - YYYY-MM-DD\n* to_date - at what date to end, date format - YYYY-MM-DD\n* timezone - timezone for api request, default - Europe/Moscow\n* api_report_name - name of the performance report according to api documentation, string\n* return_dict: return answer in dict or list, boolean\n\nIf you want to receive all possible reports, use another method.\n\n```python\nfrom pyappsflyer.api import PerformanceReport\n\nreport = PerformanceReport(api_key='your_api_key',\n application_name=\"your_application_name\",\n )\n\nreport.get_reports()\n```\nReports will return in python list() type, so they can be easily transformed into JSON.\n\n\nAlso you could create an .env file with parameters shown below. The file must be near src\nfolder, or it would not be read. Do not put env file inside src folder.\n\nUpon application start this file will be loaded and all additional parameters will be used.\n\nAPP_FLYER_HOST - host of an AppsFlyer API.\nAPP_FLYER_API_KEY = AppsFlyer API KEY.\n\nDEFAULT_DAYS_NUMBER = Number of days for timedelta. \n Application will try to receive all info for previous days, shown here. \nDEFAULT_TIMEZONE - default timezone is Europe/Moscow, could be changed. From API docs.\nDEFAULT_CSV_DELIMETER - default csv files delimeter. From API docs.\nDEFAULT_CSV_QUOTECHAR - default quotechar delimeter. From API docs.\nDEFAULT_CSV_ENCODING - default encoding is UTF-8-SIG. From API docs.\n\n\nIf you want to receive other variants of reports there two classes.\nRawDataReport and TargetingValidationRulesReport\nThese classes could be initialized as shown above. \n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/YuriyOrlov/pyappsflyer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyappsflyer", "package_url": "https://pypi.org/project/pyappsflyer/", "platform": "", "project_url": "https://pypi.org/project/pyappsflyer/", "project_urls": { "Homepage": "https://github.com/YuriyOrlov/pyappsflyer" }, "release_url": "https://pypi.org/project/pyappsflyer/0.1/", "requires_dist": [ "furl (==2.0.0)", "environs (==4.2.0)" ], "requires_python": "", "summary": "Unofficial python wrap for AppsFlyer API", "version": "0.1" }, "last_serial": 5446051, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8482e7da6be1691e2c6b32be30510a2a", "sha256": "c993d90def961cc42d590071d28c2025ba2a2cdbf1668c76b2142939739e35d9" }, "downloads": -1, "filename": "pyappsflyer-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8482e7da6be1691e2c6b32be30510a2a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7076, "upload_time": "2019-06-25T14:15:34", "url": "https://files.pythonhosted.org/packages/76/2f/05bb7cbf377deb9fed3280345e2485bf40467114c20fdb6b17c1e44e27c4/pyappsflyer-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6bc99174b27ae69d1b04c814988025f", "sha256": "b660d38e521c72894a771f787d878b0cc183947b31877f6ed8eabdbe3f9e1bd7" }, "downloads": -1, "filename": "pyappsflyer-0.1.tar.gz", "has_sig": false, "md5_digest": "c6bc99174b27ae69d1b04c814988025f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5053, "upload_time": "2019-06-25T14:15:36", "url": "https://files.pythonhosted.org/packages/22/0e/ca19ed5add5b9ec1604749f76ddff59ca1e5e4bfe2ea245ac7b8776c43dc/pyappsflyer-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8482e7da6be1691e2c6b32be30510a2a", "sha256": "c993d90def961cc42d590071d28c2025ba2a2cdbf1668c76b2142939739e35d9" }, "downloads": -1, "filename": "pyappsflyer-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8482e7da6be1691e2c6b32be30510a2a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7076, "upload_time": "2019-06-25T14:15:34", "url": "https://files.pythonhosted.org/packages/76/2f/05bb7cbf377deb9fed3280345e2485bf40467114c20fdb6b17c1e44e27c4/pyappsflyer-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6bc99174b27ae69d1b04c814988025f", "sha256": "b660d38e521c72894a771f787d878b0cc183947b31877f6ed8eabdbe3f9e1bd7" }, "downloads": -1, "filename": "pyappsflyer-0.1.tar.gz", "has_sig": false, "md5_digest": "c6bc99174b27ae69d1b04c814988025f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5053, "upload_time": "2019-06-25T14:15:36", "url": "https://files.pythonhosted.org/packages/22/0e/ca19ed5add5b9ec1604749f76ddff59ca1e5e4bfe2ea245ac7b8776c43dc/pyappsflyer-0.1.tar.gz" } ] }