{"id":18390754,"url":"https://github.com/eifinger/aiohere","last_synced_at":"2025-04-12T08:59:07.361Z","repository":{"id":37241402,"uuid":"404845377","full_name":"eifinger/aiohere","owner":"eifinger","description":"Asynchronous Python client for the HERE API","archived":false,"fork":false,"pushed_at":"2023-09-22T20:26:39.000Z","size":608,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T08:58:58.324Z","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/eifinger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-09T19:25:48.000Z","updated_at":"2022-01-10T20:48:44.000Z","dependencies_parsed_at":"2024-11-06T02:00:40.299Z","dependency_job_id":null,"html_url":"https://github.com/eifinger/aiohere","commit_stats":{"total_commits":209,"total_committers":6,"mean_commits":"34.833333333333336","dds":"0.22009569377990434","last_synced_commit":"9a5faf1e7ad04d8faaa013eb8c0d00263199df2f"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faiohere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faiohere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faiohere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Faiohere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eifinger","download_url":"https://codeload.github.com/eifinger/aiohere/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248543870,"owners_count":21121838,"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":[],"created_at":"2024-11-06T01:49:04.902Z","updated_at":"2025-04-12T08:59:07.341Z","avatar_url":"https://github.com/eifinger.png","language":"Python","readme":"# aiohere\n\nAsynchronous Python client for the HERE API\n\nBased on [herepy](https://github.com/abdullahselek/HerePy)\n\n[![GitHub Actions](https://github.com/eifinger/aiohere/workflows/CI/badge.svg)](https://github.com/eifinger/aiohere/actions?workflow=CI)\n[![PyPi](https://img.shields.io/pypi/v/aiohere.svg)](https://pypi.python.org/pypi/aiohere)\n[![PyPi](https://img.shields.io/pypi/l/aiohere.svg)](https://github.com/eifinger/aiohere/blob/master/LICENSE)\n[![codecov](https://codecov.io/gh/eifinger/aiohere/branch/master/graph/badge.svg)](https://codecov.io/gh/eifinger/aiohere)\n[![Downloads](https://pepy.tech/badge/aiohere)](https://pepy.tech/project/aiohere)\n\n## Installation\n\n```bash\npip install aiohere\n```\n\n## Usage\n\n```python\nfrom aiohere import AioHere, WeatherProductType\n\nimport asyncio\n\nAPI_KEY = \"\"\n\n\nasync def main():\n    \"\"\"Show example how to get weather forecast for your location.\"\"\"\n    async with AioHere(api_key=API_KEY) as aiohere:\n        response = await aiohere.weather_for_coordinates(\n            latitude=49.9836187,\n            longitude=8.2329145,\n            products=[WeatherProductType.FORECAST_7DAYS_SIMPLE],\n        )\n        lowTemperature = response[\"dailyForecasts\"][0][\"forecasts\"][0][\"lowTemperature\"]\n        highTemperature = response[\"dailyForecasts\"][0][\"forecasts\"][0][\n            \"highTemperature\"\n        ]\n        weekday = response[\"dailyForecasts\"][0][\"forecasts\"][0][\"weekday\"]\n\n        print(\n            f\"Temperature on {weekday} will be between {lowTemperature}°C and {highTemperature}°C\"\n        )\n\n\nif __name__ == \"__main__\":\n    loop = asyncio.new_event_loop()\n    loop.run_until_complete(main())\n```\n\n\u003ca href=\"https://www.buymeacoffee.com/eifinger\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/black_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\u003cbr\u003e\n","funding_links":["https://www.buymeacoffee.com/eifinger"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Faiohere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feifinger%2Faiohere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Faiohere/lists"}