Table of contents
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
Because we are using it in a small program, we
need to return to the list page and click the view button to get our key after we choose webAPI to create the Key.