Apicast
About
Apicast acquires bee flight forecast information published by Deutscher Wetterdienst (DWD).
Development: Hiveeyes » DWD-Prognose Bienenflug
Live API: https://apicast.hiveeyes.org/ (also on HTTP)
Setup
CLI version:
pip install apicast
HTTP API:
pip install apicast[service]
Synopsis
Display list of states and sites:
apicast beeflight stations
Display list of location slugs:
apicast beeflight stations --slugs
Acquire information for given location slug brandenburg/potsdam:
apicast beeflight forecast --station=brandenburg/potsdam
Acquire information for given location slug brandenburg/potsdam, output as table in Markdown format:
apicast beeflight forecast --station=brandenburg/potsdam --format=table-markdown
Output as table in JSON machine readable format:
apicast beeflight forecast --station=brandenburg/potsdam --format=json-machine
HTTP API
Start HTTP API service:
apicast service
Start HTTP service with dynamic code reloading:
apicast service --reload
Then navigate to:
open http://localhost:24640/
Example
apicast beeflight forecast --station=brandenburg/potsdam
[
{
"Datum": "Mo 01.06.",
"morgens": "stark",
"mittags": "intensiv",
"abends": "stark"
},
{
"Datum": "Di 02.06.",
"morgens": "stark",
"mittags": "intensiv",
"abends": "intensiv"
},
{
"Datum": "Mi 03.06.",
"morgens": "intensiv",
"mittags": "intensiv",
"abends": "intensiv"
}
]
Tests
make test
Content attributions
The copyright of data, particular images and pictograms are held by their respective owners, unless otherwise noted.
Data
Source:
Documentation:
Data copyright: © Deutscher Wetterdienst (DWD), Agricultural Meteorology Department
Logo picture
Description: A bee swarm on an oak tree in Plymouth, UK
Date: 21 June 2009
Source: Own work
Author: Nilfanion
Camera location: 50° 24′ 38.3″ N, 4° 09′ 28.2″ W
License: Creative Commons Attribution-Share Alike 3.0 Unported
URL: https://commons.wikimedia.org/wiki/File:Bee_swarm_in_Plymouth.jpg
Metadata
Release files for apicast 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apicast-0.9.0.tar.gz | 25.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apicast-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.1 kB
Release files / apicast-0.9.0.tar.gz
| Download URL | apicast-0.9.0.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66324c6f3c5620422b39daf901b437db7be05f7a83825cef28050f3b852264cb
|
|
BLAKE2b-256 checksum How to use checksums |
b89c2efcf133e7f9803e0ef148ad0465b8082370ecbe8ab34fd0ca326098fb6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / apicast-0.9.0-py3-none-any.whl
| Download URL | apicast-0.9.0-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07e98bc50ddd04120bc14141e7ac1ae65d0907ec0f8e45af4f405d1f014e8521
|
|
BLAKE2b-256 checksum How to use checksums |
af8cdbdaa9b785049e95c78f36c56978311c4552867a512dd3630806f6c51daa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|