Skip to main content

24h Weather Forecast Data

Project description

Appyweather

Appyweather is a Python package that provide you with 24-hour weather forecast information for any city or location, and it is mainly created for educational reasons. All weather data are provided through the 'openweathermap' api service.

Installation

Use the package manager pip to install appyweather.

pip install appyweather

Usage

from appyweather import Weather

# using a city name
weather = Weather(api_key='yourapikeyhere', city='Athens')

# using latitude/longitude coordinates + units (optional)
weather1 = Weather(api_key='yourapikeyhere', lat=37.98, lon=23.72, units='metric')

# get full 3-hour weather data for the next 24 hours 
weather.next_24_hours()

# get basic 3-hour weather data for the next 24 hours 
weather1.next_24_hours_basic()

License

MIT

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

appyweather-1.0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

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