Traditional Culture Encyclopedia - Weather inquiry - How to use gaode map api

How to use gaode map api

Use of gaode map api;

Brand model: ASUS

System version: UX30K723A

Software version: win7, gaode open platform

1. After normal login, click the console in the upper right corner to enter the console page.

2. Click' Application Management' in the upper left corner to enter the application page, create an application and fill in relevant information.

3. As shown in the figure, create a key, fill in the corresponding information, and pay attention to select' Web service ';; After the creation is completed, the string at the arrow position in Figure 2 is the key that needs to be used in the program call.

4. Then click "Development Document" in the upper right corner. After entering the page, select "Web Service" and click the corresponding api. Take' search API' as an example.

5. After entering the details, read carefully: product introduction, applicable scenarios, use restrictions, instructions for use, keyword search, peripheral search, etc. Here, take keyword search as an example: as shown in the figure, call the url in the figure, where key is the key string under the newly created application.

6. Copy the url, replace the key you applied for, and test it in the browser. As shown in the figure, search with the keyword' Peking University', and according to the data normally returned by the api, you can extract the required fields from it, or you can store them yourself or display them on the page.