Micro-build low-code call third-party API

At the request of fans, this article introduces how to call third-party APIs in Weibo. One of the more common requirements in our application development is to develop a weather function, so that users can see the latest weather conditions in real time when they access the application.

There are many third-party weather APIs. In this article, we will introduce Hefeng Weather as an example.

1 Create a project

If you want to call Zefeng Weather, you first need to create a project, we use the free subscription method to obtain the required Key

insert image description here
insert image description here
Because we are using it in a small program, we
insert image description here
need to return to the list page and click the view button to get our key after we choose webAPI to create the Key.

Guess you like

Origin blog.csdn.net/u012877217/article/details/130356911