a Python module that provides an interface to the Yahoo! Weather RSS feed.
Project description
yahooweather
============
Python modul for access to yahoo! weather
Example
-------
.. code:: python
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("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.
Links
-----
- https://developer.yahoo.com/weather/
============
Python modul for access to yahoo! weather
Example
-------
.. code:: python
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("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.
Links
-----
- https://developer.yahoo.com/weather/
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.1.zip
(5.3 kB
view details)
File details
Details for the file yahooweather-0.1.zip
.
File metadata
- Download URL: yahooweather-0.1.zip
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a3859581bdb0807649f3d475c69e92063590589a0a1c63eedd969f4da0f77f |
|
MD5 | b3eefb1d93642d67477f96e135348c52 |
|
BLAKE2b-256 | 833e7a104ea662b06eb3ace87e069559ea9f4f50200e12e7fcbac698414c1d85 |