{"id":24441673,"url":"https://github.com/decentfox/async-weather-sdk","last_synced_at":"2025-03-14T02:12:11.700Z","repository":{"id":57412302,"uuid":"267488250","full_name":"decentfox/async-weather-sdk","owner":"decentfox","description":"Async weather API wrapper for fetching weather and forecast data","archived":false,"fork":false,"pushed_at":"2020-06-02T05:54:26.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T19:55:14.530Z","etag":null,"topics":["asyncio","forecast","python3","weather"],"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/decentfox.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-28T03:54:36.000Z","updated_at":"2021-02-21T23:49:17.000Z","dependencies_parsed_at":"2022-08-28T01:10:33.870Z","dependency_job_id":null,"html_url":"https://github.com/decentfox/async-weather-sdk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fasync-weather-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fasync-weather-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fasync-weather-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decentfox%2Fasync-weather-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decentfox","download_url":"https://codeload.github.com/decentfox/async-weather-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510125,"owners_count":20302294,"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":["asyncio","forecast","python3","weather"],"created_at":"2025-01-20T21:18:57.725Z","updated_at":"2025-03-14T02:12:11.680Z","avatar_url":"https://github.com/decentfox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Async Weather SDK\n\n[![PyPI version](https://img.shields.io/pypi/v/async-weather-sdk?logo=python\u0026logoColor=white)](https://badge.fury.io/py/async-weather-sdk)\n[![GitHub Workflow Status for tests](https://img.shields.io/github/workflow/status/decentfox/async-weather-sdk/test?logo=github\u0026logoColor=white)](https://github.com/decentfox/async-weather-sdk/actions?query=workflow%3Atest)\n[![Codacy Badge](https://img.shields.io/codacy/coverage/f548667427c24fc394204b440166c26d?logo=Codacy)](https://www.codacy.com/gh/decentfox/async-weather-sdk?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=decentfox/async-weather-sdk\u0026utm_campaign=Badge_Coverage)\n\nAsync weather API wrapper for fetching weather and forecast data\n\n## Core Dependencies\n\n**Asyncio:** a library to write concurrent code using the async/await syntax.\n\n**Aiohttp:** an asynchronous HTTP Client/Server for asyncio and Python.\n\n## Install\n\n```bash\npip install async-weather-sdk\n\nOR\n\npoetry add async-weather-sdk\n```\n\n## Usage\n\n### QQ Weather API SDK\n\nGet current weather/forecast data by province and city.\n\n```python\nfrom async_weather_sdk.qq import QQWeather\n\nweather = QQWeather()\n\nawait weather.fetch_current_weather('北京市', '北京市')\nawait weather.fetch_weather_forecast('北京市', '北京市', 3)\n```\n\nQuery current weather/forecast data with tencent map api key.\n\n```python\nfrom async_weather_sdk.qq import query_current_weather, query_weather_forecast\n\nawait query_current_weather('API_KEY', '北京市')\nawait query_weather_forecast('API_KEY', '39.90469,116.40717')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentfox%2Fasync-weather-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentfox%2Fasync-weather-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentfox%2Fasync-weather-sdk/lists"}