Working with APIs in PHP

February 13th, 2017121333 Let us say that we want to use the OpenWeatherMap API to display the weather in an arbitrary city. We could achieve this in the following way