Skip to main content

a Python module that provides an interface to the Yahoo! Weather RSS feed.

Project description

Python modul for access to yahoo! weather

Example

import logging
from yahooweather import YahooWeather, UNIT_C

logging.basicConfig(level=logging.WARNING)

yweather = YahooWeather(12891864, UNIT_C)
if yweather.updateWeather():
    print("RawData: %s" % str(yweather.RawData))
    print("Units: %s" % str(yweather.Units))
    print("Now: %s" % str(yweather.Now))
    print("Forecast: %s" % str(yweather.Forecast))
    print("Wind: %s" % str(yweather.Wind))
    print("Atmosphere: %s" % str(yweather.Atmosphere))
    print("Astronomy: %s" % str(yweather.Astronomy))
else:
    print("Can't read data from yahoo!")

Rate Limits

Use of the Yahoo Weather API should not exceed reasonable request volume. Access is limited to 2,000 signed calls per day.

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

yahooweather-0.2.zip (5.3 kB view details)

Uploaded Source

File details

Details for the file yahooweather-0.2.zip.

File metadata

  • Download URL: yahooweather-0.2.zip
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yahooweather-0.2.zip
Algorithm Hash digest
SHA256 25055b406e95b79caf01e73c2522577bc99c627a70a16ae2225f76be4231699c
MD5 1e46e7f4fdfe498a3b996d66b6f0c84d
BLAKE2b-256 0f3e86497f008d454ad4256e50e71098aa5e565ba33ca715450a7a80a9415e8d

See more details on using hashes here.

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