Options

Option Name

Description

Type

Required

appID

API Code to connect to Open Weather MapGet your free API code from: https://home.openweathermap.org/users/sign_up

string

Yes

city

City name used for display. If not added the website will ask for location permission.

string

No

region

Region or state name used for display. If not added the website will ask for location permission.

string

No

country

Country name used for display. Use 2 character country code. If not added the website will ask for location permission.

string

No

count

How many days to display. If you use 1, it will default to today, otherwise, input your days for the forecast.

integer

No

days

Change word(s) to your language preference.

array

No

today

Change word(s) to your language preference.

string

No

unit

Imperial or metric.

string

No

text

Various words to change to your language preference.

array

No

showCity

True or False. Show the city name below (today) or above (forecasts).

boolean

No

orientation

Horizontal or vertical. Change the layout of the forecast.

string

No

theme

Modify CSS attributes like color and background as well as border.

array

No

lang

Change the language using 2 character language code.

string

No

Last updated