Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 673 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 673 Bytes

WeatherStackWrapper

In development wrapper library for WeatherStack weather api.

Install

pip install weatherstackapi
poetry add weatherstackapi

Usage

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)