2.3.8 • Published 5 years ago
@pillowfication/eorzea-weather v2.3.8
eorzea-weather
Weather forecast for Eorzea. Forked from https://github.com/flowercartelet/eorzea-weather.
Usage
import EorzeaWeather from '@pillowfication/eorzea-weather'
const eorzeaWeather = new EorzeaWeather({ locale: 'en' })
eorzeaWeather.getWeather(EorzeaWeather.ZONE_EUREKA_ANEMOS, Date.now()) // falseDifferences
- Functions take numerical dates (e.g.
Date.now()) instead of Date objects. - Regions have been added.
EorzeaWeatherconstructor no longer takes azoneId. ThezoneIdmust be provided ingetWeather()calls._getWeather()added that returns aweatherIdinstead of the translated weather string.