|
This requires a free account with OpenWeatherMap.org Sign-up here (I chose OpenWeatherMap for the API because of their generous calls/month allowance on their free plan) Download and extract the weatherWidget to a folder of your choosing. Then sign up with OpenWeatherMap.org if you have not already done so. NOTE: IT WILL TAKE 5-10 MINUTES FOR YOUR NEW API KEY TO WORK. PLEASE BE PATIENT. |
Installation Instuctions Once you have your OpenWeatherMap free API key, open the weatherWidget.html file with any text editor, change the following variables at the top of the code:REQUIRED yourApiKey Your API key from OpenWeatherMap.yourCity Your city name, change this to your city. (ex: "London, UK" or "Las Vegas, NV, US" or "Moscow")yourUnits imperial = fahrenheit, metric = celsius,standard = kelvin.OPTIONAL weatherDisplay options: full , simple , temp , time (temp and time only display temp or time)weatherIcons turns on weather display icons: 1 =on 0 =officonHeight weather Icon heighttextSize text sizetextColor text colordisplayWidth weather display widthsave the file, and add weatherWidget.html as a new "browser" source to your desired scene and you are done. |