https://github.com/liskisbest/weatherstackapi
Python wrapper library for the Weather Stack api
https://github.com/liskisbest/weatherstackapi
api weather weatherstack weatherstack-api wrapper
Last synced: about 1 month ago
JSON representation
Python wrapper library for the Weather Stack api
- Host: GitHub
- URL: https://github.com/liskisbest/weatherstackapi
- Owner: LiskIsBest
- License: gpl-3.0
- Created: 2023-03-28T12:33:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T04:21:37.000Z (almost 3 years ago)
- Last Synced: 2026-01-14T12:13:12.093Z (about 1 month ago)
- Topics: api, weather, weatherstack, weatherstack-api, wrapper
- Language: Python
- Homepage: https://pypi.org/project/weatherstackapi/
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WeatherStackWrapper
---
In development wrapper library for [WeatherStack](https://weatherstack.com/) weather api.
Install
---
```bash
pip install weatherstackapi
```
```bash
poetry add weatherstackapi
```
Usage
---
```Python
import weatherstackapi as wsa
weatherApi = wsa.WeatherApi(access_key)
weatherApi.current(location, units, language)
weatherApi.historical(location, historical_date, hourly, interval, units, language)
weatherApi.historical_time_series(locatioin, historical_date_start, historical_date_end, hourly, interval, units, language)
weatherApi.forecast(location, forecast_days, hourly, interval, units, language)
weatherApi.lookup_location(location)
```