Update weather module readme
This commit is contained in:
parent
cb44e24ae1
commit
a919c2ff01
@ -38,13 +38,19 @@ The Norwegian Meteorological Institute offers a free weather API. It has a rate
|
|||||||
requests/s. You do not need to register or to provide an API key, however they require an
|
requests/s. You do not need to register or to provide an API key, however they require an
|
||||||
identification and contact data to be present in the User Agent header in each request.
|
identification and contact data to be present in the User Agent header in each request.
|
||||||
|
|
||||||
It should also be noted that MET Norway only supports weather requests by lat/lon and the responses do
|
It should also be noted that MET Norway only supports weather requests by lat/lon and the responses
|
||||||
not include geocoded names. This means a geocoder has to be present in the operating system for this
|
do not include geocoded names. This means a geocoder has to be present in the operating system for
|
||||||
provider to fully work (most devices ship a geocoder as part of the Google Play Services). If no
|
this provider to fully work (most devices ship a geocoder as part of the Google Play Services). If
|
||||||
geocoder is present, manual location mode will not be supported and the weather widget will show the
|
no geocoder is present, manual location mode will not be supported and the weather widget will show
|
||||||
lat/lon values instead of a location name.
|
the lat/lon values instead of a location name.
|
||||||
|
|
||||||
1. Uncomment `metno_contact` in config.xml. Fill in your contact data (an email address or a website
|
1. Uncomment `metno_contact` in config.xml. Fill in your contact data (an email address or a website
|
||||||
where your contact data can be found). This will be used in the User Agent header, which will be
|
where your contact data can be found). This will be used in the User Agent header, which will be
|
||||||
composed like
|
composed like
|
||||||
this: `"{app package name}[signature:{app siganture hash}] {@string/metno_contact}"`
|
this: `"{app package name}[signature:{app siganture hash}] {@string/metno_contact}"`
|
||||||
|
|
||||||
|
### Bright Sky / Deutscher Wetterdienst
|
||||||
|
|
||||||
|
Bright Sky is an API that converts the data as published by the Deutscher Wetterdienst in an easier
|
||||||
|
to work with JSON format. The API is free to use and requires no additional configuration, however
|
||||||
|
it only provides weather data for locations in Germany.
|
||||||
Loading…
x
Reference in New Issue
Block a user