Python library for yahoo weather new API
Project description
Python Library for Yahoo Weather New API
Since 3,Jan 2019 yahoo has changed its Weather API with Oauth1 Authentication. This new method has added an authentication to use the API. This library helps you to handle the new API. In order to use the new API you have to get API key from YAHOO
from yahoo_weather import yahoo_weather
from config.units import Unit
data = yahoo_weather(APP_ID="Your App ID",
apikey="Your API KEY",
apisecret="Your API secret")
data.get_yahoo_weather_by_city("tehran", Unit.celsius)
data.get_yahoo_weather_by_location(35.67194, 51.424438)
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
yahoo_weather-1.0.2.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for yahoo_weather-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d94df12355e806fcfafc0dc9fe9413c0b735d28f8419d05cc54b4f20b3f98d |
|
MD5 | 8109377c6daa9f0215f943cd61e31f72 |
|
BLAKE2b-256 | cf3d0786e69a0f4ca79cc3452e88dd814dd791d1caadbef3b0fffc991b921d24 |