This fixes the weather API for Ageo Rainmeter skin. (https://www.deviantart.com/hiphopium/art/Ageo-788359446)
First of all, we will need an API key from WeatherApi.com. Go to https://www.weatherapi.com/ and register for free.
On the dashboard you will see:
API Key: <characters and number>
for example:
API Key: 0123456789abcdef0123456789abcde
Note the api key, we will use it in a bit.
With Ageo loaded, right click on the Time and Date skin and click Edit Skin. A Notepad will open with the file C:\Users\<YOUR USERNAME>\Documents\Rainmeter\Skins\Ageo\Time and Date\Time and Date.ini
Choose one of the files attached here, Celcius or Farenheit.
Copy the text in the the file you selected here and completely replace the contents of the Notepad file.
Look for the [MeasureCurrent]
section in Notepad and look at the Url
setting.
[MeasureCurrent]
...
Url=http://api.weatherapi.com/v1/current.xml?key=YOUR API KEY&q=YOUR LOCATION
...
Replace YOUR API KEY
with the weather.com API Key and YOUR LOCATION
with a US Zipcode, UK Postcode, Canada Postalcode, IP address, Latitude/Longitude (decimal degree) or city name.
for example:
Manila, Philippines
Url=http://api.weatherapi.com/v1/current.xml?key=0123456789abcdef0123456789abcde&q=Manila
Beverly Hills
Url=http://api.weatherapi.com/v1/current.xml?key=0123456789abcdef0123456789abcde&q=90210
Look at https://www.weatherapi.com/docs/#intro-request under Request Parameters q parameter for more info.
Save the file. Right-click the Time and Date skin and click Refresh skin
Enjoy!
Hello and thank you for making this fix to the skin. However I have a question, I am not english and not really good at coding but I was trying to use the translate function that is provided with the skin, unfortunately, the first two part of the sentence work whereas the rest (especially the conditions part) does not work, how can I fix this? thanks in advance.
Edit: I also wanted to ask you if you know how to scale the box where there is the weather sentence, because it has become quite long and don't know how to add another line so it becomes 4 lines instead of 3. thanks again.