WordPress – How to get weather update without using plugins
Generally we have planned to use Google api to get the weather updates exactly. But working with Google api is not simple like openweathermap. So let’s try to get current weather of London with the following code. $lndn_request = 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&appid=2de143494c0b295cca9337e1e96b00e0'; The above one will help us to get an json encoded string from openweathermap. It’s absolutely free to get. But you need an api ...