Skip to main content

Python wrapper for the weather stack api

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weatherstackapi-1.0.1.tar.gz (19.8 kB view hashes)

Uploaded Source

Built Distribution

weatherstackapi-1.0.1-py3-none-any.whl (38.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page