{"id":20743103,"url":"https://github.com/datagreed/python-appsflyer-server-events-api","last_synced_at":"2026-04-28T05:35:44.160Z","repository":{"id":94399117,"uuid":"239648980","full_name":"DataGreed/python-appsflyer-server-events-api","owner":"DataGreed","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-12T02:39:55.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T12:38:26.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataGreed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-11T01:19:28.000Z","updated_at":"2020-02-12T02:39:58.000Z","dependencies_parsed_at":"2023-05-14T06:45:46.952Z","dependency_job_id":null,"html_url":"https://github.com/DataGreed/python-appsflyer-server-events-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DataGreed/python-appsflyer-server-events-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataGreed%2Fpython-appsflyer-server-events-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataGreed%2Fpython-appsflyer-server-events-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataGreed%2Fpython-appsflyer-server-events-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataGreed%2Fpython-appsflyer-server-events-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataGreed","download_url":"https://codeload.github.com/DataGreed/python-appsflyer-server-events-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataGreed%2Fpython-appsflyer-server-events-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:09:09.418Z","updated_at":"2025-12-25T05:02:45.334Z","avatar_url":"https://github.com/DataGreed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-appsflyer-server-events-api\n\nPython client implementation for [AppsFlyer Server-to-server events API](https://support.appsflyer.com/hc/en-us/articles/207034486-Server-to-server-events-API#setup)\n\n## Why this project exists\n\nLet's be honest, AppsFlyer server-to-server event API is a [horrible mess of bad design decisions](https://medium.com/@DataGreed/bad-api-design-studying-confusing-appsflyer-server-to-server-api-3c0a2af0b991).\n\nThis projects aims to simplify interaction with this API and lessen the chances of shooting yourself in the foot. \n\n## Usage\n\nExample usage:\n\n```python\nimport appsflyer\nfrom datetime import datetime\n\nclient = AppsFlyerEventApiClient(application_id=\"id1389752090\", developer_key=\"insert_developer_key\")\n\nclient.track(\n  appsflyer_id=\"1415211453000-6513894\", \n  event_name=\"af_purchase\", \n  idfa=\"AEBE52E7-03EE-455A-B3C4-E57283966239\", \n  event_value=appsflyer.EventValue(revenue=6, content_type=\"wallets\", content_id=\"15854, quantity=1)\n  event_currency=\"USD\",\n  eventTime=datetime.datetime(2020, 3, 10, 18, 54, 14),\n  device_ip=\"198.51.100.5\"\n)\n```\n\n## TODO\n\n- add more documentation on EventValue parameters\n- put package on PyPi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatagreed%2Fpython-appsflyer-server-events-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatagreed%2Fpython-appsflyer-server-events-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatagreed%2Fpython-appsflyer-server-events-api/lists"}