Traditional Culture Encyclopedia - Weather inquiry - Free weather forecast json interface
Free weather forecast json interface
# 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:Current weather in wangcang county
- Next article:Meteorological regulations of Xinjiang Uygur Autonomous Region
- Related articles
- Central Asia has a high terrain, why is there dusty weather?
- A 600-word Chinese essay diary
- How to order flowers in a flower shop in Dongli District, Tianjin?
- Which winter begins at the Beginning of Winter or the Winter Solstice - Today's Hot Topics 2022 Which is the beginning of winter, the Winter Solstice or the Beginning of Winter?
- What are the causes, processes and results of borrowing arrows from grass boats?
- What does July filariasis mean?
- Which month is suitable for traveling to Bali?
- Lianchi meteorological area
- Ask for Korean translation ~
- What kind of skin care products are suitable for gifting? Are Vipshop¡¯s skin care products genuine?