Guest User

Untitled

a guest
Apr 5th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. >>> url="http://weather.livedoor.com/forecast/webservice/json/v1"
  2. >>> payload={"city":"400040"}
  3. >>> weather_data=requests.get(url,params=payload).json()
  4. >>> pprint.pprint(weather_data)
Advertisement
Add Comment
Please, Sign In to add comment