1.0.8 • Published 2 years ago

workadventure-weather-night-plugin v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Workadventure - Weather and Night plugin

Installation

npm i workadventure-weather-night-plugin

To load plugin, add this to main.ts:

import WeatherAndNightPlugin from 'workadventure-weather-night-plugin';

(new WeatherAndNightPlugin)
    .setOpenWeatherMapAppIdentifier('x123examplekey123x') // Your OpenWeatherMap API key
    .setOpenWeatherMapDefaultCity('Paris') // Your default city name
    .setEnabledUserWeather(false) // Use user location if available (default to true)
    .setEnabledAnimatedTiles(true) // Enable animations (default to false)
    .init(WA);

OpenWeatherMap API

You can generate an API key (an app identifier) from https://openweathermap.org/api

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago