Traditional Culture Encyclopedia - Weather forecast - Weather extract edition
Weather extract edition
# Get temperature, humidity, wind power, etc.
Weather _URL_A = "/data/sk/%s.html "
# Get weather conditions, maximum/minimum temperatures, etc.
WEATHER _ URL _ B = "/data/city info/% s . html "
# Get the weather data for the next 7 days
Weather _URL_C = "/weather/%s.shtml "
The %s in the URL refers to the code corresponding to the city. Detailed reference:
blogs.com/toosuo/p/3868004.html
However, some interfaces in this article are no longer available.
Of the three URLs I gave above, the first two directly return data in json format; The third return is a page from which you need to extract the information you want.
- Previous article:How to drive from Beijing to Chaoyang, Liaoning?
- Next article:The latitude of new york is equivalent to which city in China?
- Related articles
- The more poems, essays and novels about summer, the better!
- Ground temperature in Shijiazhuang
- Sun Yunyun's daughter is just different. Liao Siwei's T-shirt side hole is spicy and dizzy, and 4 tricks to master the fresh air
- What clothes are suitable for nine degrees weather?
- Mobile phone connected to the world OPhone mobile phone LG GW880 trial
- What are suitable for Huzhou? What flowers and trees are there in Huacheng?
- What's wrong with turning off the air conditioner?
- How to use Tianqidan essential oil?
- A poem about autumn
- What is flat, what is flat and what is flat?