@pillowfication/eorzea-weather
v2.3.8
Published
Weather forecast for Eorzea.
Downloads
11
Maintainers
Readme
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()) // false
Differences
- Functions take numerical dates (e.g.
Date.now()
) instead of Date objects. - Regions have been added.
EorzeaWeather
constructor no longer takes azoneId
. ThezoneId
must be provided ingetWeather()
calls._getWeather()
added that returns aweatherId
instead of the translated weather string.