mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-30 23:41:07 -05:00
NuWeather: update list of available backends
[skip ci]
This commit is contained in:
parent
fa4921776c
commit
8d03d73e4e
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user