mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[doc] weather template (WIP)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
df4f318103
commit
9a61894113
1 changed files with 25 additions and 0 deletions
|
@ -311,3 +311,28 @@ the parameter ``template`` must be set to the desired type.
|
|||
address.postcode postcode of object
|
||||
address.country country of object
|
||||
========================= =====================================================
|
||||
|
||||
|
||||
.. list-table:: Parameter of the **weather** media type
|
||||
:header-rows: 2
|
||||
:width: 100%
|
||||
|
||||
* - result parameter
|
||||
- Python type
|
||||
- information
|
||||
|
||||
* - template
|
||||
- :py:class:`str`
|
||||
- is set to ``weather.html``
|
||||
|
||||
* - location
|
||||
- :py:class:`str`
|
||||
- name of the location
|
||||
|
||||
* - currently
|
||||
- :py:class:`dict`
|
||||
- current weather data
|
||||
|
||||
* - forecast
|
||||
- :py:class:`List <list>`\ [\ :py:class:`dict`\ ]
|
||||
- weather forecast data
|
||||
|
|
Loading…
Add table
Reference in a new issue