How to use openweathermap api key? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I have openweathermap api key , but how can I use it in PHP ? and the weather report should be report from a city name, not from the location weather ID 回答1: How to use API key Add the following parameter to the GET request: APPID=APIKEY Example: api.openweathermap.org/data/2.5