

For example, if the id of Suzhou is 116, if you want to know which counties and districts are under Suzhou, please visit. Just add the province id to the last page of the url address. If you want to know which cities are in a province, such as Jiangsu, whose id is 16, please visit. To list all the provinces in China, just visit the address:, the server will return a piece of data in JSON format, including the names of all provinces in China and the province IDs. Get the list of national cities (Figure 1 to figure 3) If it is not started for the first time, the last selected urban weather forecast interface will be displayed (for example, the weather forecast interface of Guangzhou will be displayed when exiting, as shown in Figure 4, and it will still be displayed when entering again).ġ.

Figure 5 slide out the sidebar from the left to choose another city. If you select a province to enter the list of cities in the province, if you select a city item to enter the list of all districts or counties in the city (including the city), if you select an item in the list again, the weather forecast interface of the region will be displayed. App introduction: when the app is launched for the first time, the list shows 34 provinces and municipalities directly under the central government, including Hong Kong, Macao and Taiwan.
