Created
January 10, 2014 23:07
-
-
Save DanBrink91/8364435 to your computer and use it in GitHub Desktop.
weather in python! http://openweathermap.org/API#weather
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
r = requests.get('http://api.openweathermap.org/data/2.5/weather?q=Orland,FL') | |
print r.json() |
wilderfield
commented
Jan 16, 2020
They've updated the API and now account is required to use this, follow the link in the message you posted to register and then add the key to request. You should be able to google "python requests api key" to find some examples of others using API keys with this library.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment