{"id":18390775,"url":"https://github.com/eifinger/aioweenect","last_synced_at":"2026-03-01T13:09:50.103Z","repository":{"id":37848440,"uuid":"358277512","full_name":"eifinger/aioweenect","owner":"eifinger","description":"Asynchronous Python client for the weenect API","archived":false,"fork":false,"pushed_at":"2024-08-07T14:24:45.000Z","size":628,"stargazers_count":4,"open_issues_count":9,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-22T11:51:11.319Z","etag":null,"topics":["aiohttp","python","python3","weenect","weenect-api"],"latest_commit_sha":null,"homepage":"","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/eifinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-15T13:55:21.000Z","updated_at":"2024-09-29T23:35:01.000Z","dependencies_parsed_at":"2024-08-07T14:55:04.446Z","dependency_job_id":"2e0da4f8-e1b5-495b-9764-32d6360dc657","html_url":"https://github.com/eifinger/aioweenect","commit_stats":{"total_commits":237,"total_committers":4,"mean_commits":59.25,"dds":"0.11814345991561181","last_synced_commit":"358b3d65d890adf0a4d86ce966f73290204207c5"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faioweenect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faioweenect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faioweenect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faioweenect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eifinger","download_url":"https://codeload.github.com/eifinger/aioweenect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247583697,"owners_count":20962066,"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","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":["aiohttp","python","python3","weenect","weenect-api"],"created_at":"2024-11-06T01:49:06.918Z","updated_at":"2026-03-01T13:09:50.075Z","avatar_url":"https://github.com/eifinger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aioweenect\n\nAsynchronous Python client for the weenect API\n\n[![GitHub Actions](https://github.com/eifinger/aioweenect/workflows/CI/badge.svg)](https://github.com/eifinger/aioweenect/actions?workflow=CI)\n[![PyPi](https://img.shields.io/pypi/v/aioweenect.svg)](https://pypi.python.org/pypi/aioweenect)\n[![PyPi](https://img.shields.io/pypi/l/aioweenect.svg)](https://github.com/eifinger/aioweenect/blob/master/LICENSE)\n[![codecov](https://codecov.io/gh/eifinger/aioweenect/branch/master/graph/badge.svg)](https://codecov.io/gh/eifinger/aioweenect)\n[![Downloads](https://pepy.tech/badge/aioweenect)](https://pepy.tech/project/aioweenect)\n\n## Installation\n\n```bash\n$ pip install aioweenect\n```\n\n## Usage\n\n```python\nfrom aioweenect import AioWeenect\n\nimport asyncio\n\nUSER = \"\u003cYOUR_USER\u003e\"\nPASSWORD = \"\u003cYOUR_PASSWORD\u003e\"\n\n\nasync def main():\n    \"\"\"Show example how to get location of your tracker.\"\"\"\n    async with AioWeenect(username=USER, password=PASSWORD) as aioweenect:\n        trackers_response = await aioweenect.get_trackers()\n        tracker_id = trackers_response[\"items\"][0][\"id\"]\n        tracker_name = trackers_response[\"items\"][0][\"name\"]\n\n        position_response = await aioweenect.get_position(tracker_id=tracker_id)\n        lat = position_response[0][\"latitude\"]\n        lon = position_response[0][\"longitude\"]\n        last_message = position_response[0][\"last_message\"]\n        print(\n            f\"Location for {tracker_name}: lat: {lat}, lon: {lon}. Last message received: {last_message}\"\n        )\n\n\nif __name__ == \"__main__\":\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Faioweenect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feifinger%2Faioweenect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Faioweenect/lists"}