How do I get current weather data via OpenWeather REST API? [PHP Code]
An example of getting the current weather data for a selected city via a free REST API weather service. Public weather REST API service provided by OpenWeatherMap.org. The weather REST API key and city name are passed as URL parameters. The weather REST API service can be requested with HTTP GET requests. The PHP code was automatically generated for the Weather REST API example.