{"id":18514233,"url":"https://github.com/tizz98/mixpanel-data-api-python","last_synced_at":"2026-06-18T20:31:50.284Z","repository":{"id":74251043,"uuid":"48700422","full_name":"tizz98/mixpanel-data-api-python","owner":"tizz98","description":"A simple python wrapper for the Mixpanel data export api.","archived":false,"fork":false,"pushed_at":"2015-12-29T20:24:33.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T13:19:41.784Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tizz98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-28T16:05:06.000Z","updated_at":"2015-12-29T19:27:26.000Z","dependencies_parsed_at":"2023-03-17T23:30:57.254Z","dependency_job_id":null,"html_url":"https://github.com/tizz98/mixpanel-data-api-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tizz98/mixpanel-data-api-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizz98%2Fmixpanel-data-api-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizz98%2Fmixpanel-data-api-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizz98%2Fmixpanel-data-api-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizz98%2Fmixpanel-data-api-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tizz98","download_url":"https://codeload.github.com/tizz98/mixpanel-data-api-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizz98%2Fmixpanel-data-api-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34507155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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-06T15:42:28.462Z","updated_at":"2026-06-18T20:31:50.269Z","avatar_url":"https://github.com/tizz98.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mixpanel data\nA simple python wrapper for the [Mixpanel data export api](https://mixpanel.com/docs/api-documentation/data-export-api).\n\n\n## Installation\n### From Source\n- `git clone git@github.com:tizz98/mixpanel-data-api-python.git`\n- `cd mixpanel-data-api-python`\n- `python setup.py install` or `pip install .`\n\n## Usage\n\n#### Get Events in time frame\n_from [mixpanel docs](https://mixpanel.com/docs/api-documentation/exporting-raw-data-you-inserted-into-mixpanel)_\n\n```python\nfrom datetime import date\nimport mixpanel_data\n\n# Configure your api key and secret\nmixpanel_data.set_key_and_secret(\n    \"API_KEY\",\n    \"API_SECRET\"\n)\n\nfrom_date = date(2015, 11, 1)\nto_date = date(2015, 11, 2)\n\nexport = mixpanel_data.Export(from_date, to_date, 'Viewed report')\nevents = export.events\n\nfor event in events:\n    print event.event  # Viewed report\n\n    properties = event.properties\n\n    print properties.distinct_id  # foo\n    print properties.time  # 1329263748\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizz98%2Fmixpanel-data-api-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftizz98%2Fmixpanel-data-api-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizz98%2Fmixpanel-data-api-python/lists"}