![]() ![]() Note that the double quotes (“) are important when setting the above settings! Step 3 -refresh your web page and view the results ![]() Celcius, mm and kilometers), then change the unitGroup setting from “us” to “metric”.Īlso if you would like the widget to change from automatically detecting the user location, add a location address in the location setting. If you don’t make any configuration changes, the widget will used degrees Fahrenheit, inches and miles for the display. S.setAttribute('data-timestamp', +new Date()) Var d = document, s = d.createElement('script') Title:"London,UK", //optional title to show in the Location:"London, UK", //Enter an addressįorecastDays:5, //how many days forecast to show Window.weatherWidgetConfig = window.weatherWidgetConfig || ĪpiKey:"YOUR_API_KEY", //Sign up for your personal key Copy your API key from step 1 and replace the ‘YOUR_API_KEY’ text. Step 2 – copy the HTML code to display the weather forecastĬopy the following code on to your web page where you would like the weather forecast to appear. ![]() Once you have signed up, it the ‘Account’ button in the top right and copy the API key. To sign up, visit our Weather Data Services Page. You will need a free API key to use this widget. Step 1 – Sign up for your own free API Key ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |