lbrunet / mozaik-ext-weather

Mozaïk weather widgets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mozaïk weather widgets

Travis CI

Weather — Weather

Show weather for given city/country

clock

parameters

key required description
city yes  The city you want to display weather for.
country yes The country you want to display weather for.
lang no Lang used to display weather info. Defaults to en.
limit no Limit displayed days. Defaults to 3.

usage

{
    type:    'weather.weather'
    city:    'Paris',
    country: 'FR',
    lang:    'fr',
    limit:   2,
    columns: 1, rows: 1,
    x: 0, y: 0
},
{
    type:    'weather.weather'
    city:    'Tokyo',
    country: 'JP',
    lang:    'en',
    limit:   3,
    columns: 1, rows: 1,
    x: 1, y: 0
},
{
    type:    'weather.weather'
    city:    'Barcelona',
    country: 'ES',
    lang:    'es',
    limit:   4,
    columns: 1, rows: 1,
    x: 2, y: 0
}

About

Mozaïk weather widgets


Languages

Language:JavaScript 75.8%Language:CSS 24.2%