._ _ _. _|_ |_ _ ._ _ ._
|_) \/ \/\/ (/_ (_| |_ | | (/_ | (_ | |
A weather forecast library, version 1.0.3
Written by Benny
Welcome to pyweathercn!
There are two ways to interact with this RESTAPI.
The key parameter is city, and an optional parameter day.
The first one is GET method, invoke:
127.0.0.1:8888/weather?city=上海 - get full details
127.0.0.1:8888/weather?city=上海&day=2 - get 2 days details
The second one is POST method, invoke
with url-encoded form as above. Post JSON is also supported.