NuWeather: update list of available backends

[skip ci]
This commit is contained in:
James Lu 2019-03-16 20:31:40 -07:00
parent fa4921776c
commit 8d03d73e4e

View File

@ -1,23 +1,27 @@
# NuWeather # NuWeather
A weather plugin for Limnoria. It supports multiple backends: A weather plugin for Limnoria. It supports multiple weather and geocoding backends:
- [Dark Sky](https://darksky.net) (default) #### Weather Backends
- [Apixu](https://www.apixu.com/) - [Dark Sky](https://darksky.net) (default, API key required)
- [Apixu](https://www.apixu.com/) (API key required)
For the Dark Sky backend, [OpenStreetMap Nominatim](https://nominatim.openstreetmap.org/) is used to translate locations into latitude/longitude pairs. #### Geocoding Backends
- [OpenStreetMap Nominatim](https://nominatim.openstreetmap.org/) (default, no API key required)
- [Google Maps](https://developers.google.com/maps/documentation/geocoding/start) (API key required)
- [OpenCage](https://opencagedata.com/) (API key required)
## Quick start ## Quick start
1) Pick your preferred backend: `config help plugins.nuweather.defaultbackend` 1) Pick your preferred weather backend: `config help plugins.NuWeather.defaultBackend`
2) Grab an API key. [Dark Sky](https://darksky.net/dev) | [Apixu](https://www.apixu.com/) 2) Grab an API key. [Dark Sky](https://darksky.net/dev) | [Apixu](https://www.apixu.com/)
3) Configure it: `/msg yourbot config plugins.nuweather.apikeys.BACKENDNAME YOUR-API-KEY` 3) Configure it: `/msg yourbot config plugins.NuWeather.apikeys.BACKENDNAME YOUR-API-KEY`
5) Set your default weather location: `setweather <your-preferred-location>` 4) Set your default weather location: `setweather <your-preferred-location>`
6) Obtain weather: `weather [<optional location>]` 5) Obtain weather: `weather [<optional location>]`
## Migrating from the Weather plugin ## Migrating from the Weather plugin