Python client and HTTP service to access bee flight forecast information published by Deutscher Wetterdienst (DWD), the federal meteorological service in Germany.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apicast-0.9.0.tar.gz
.
File metadata
- Download URL: apicast-0.9.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66324c6f3c5620422b39daf901b437db7be05f7a83825cef28050f3b852264cb |
|
MD5 | 981a94b6ca8a10aac48f7b2e8fefed7e |
|
BLAKE2b-256 | b89c2efcf133e7f9803e0ef148ad0465b8082370ecbe8ab34fd0ca326098fb6b |
File details
Details for the file apicast-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: apicast-0.9.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e98bc50ddd04120bc14141e7ac1ae65d0907ec0f8e45af4f405d1f014e8521 |
|
MD5 | 8ce19c9a5da16ce5a915d70827be0ec0 |
|
BLAKE2b-256 | af8cdbdaa9b785049e95c78f36c56978311c4552867a512dd3630806f6c51daa |