Skip to main content

Python client and HTTP service to access bee flight forecast information published by Deutscher Wetterdienst (DWD), the federal meteorological service in Germany.

Project description


ci-tests Test suite code coverage license pypi-downloads python-versions status pypi-version

About

Apicast acquires bee flight forecast information published by Deutscher Wetterdienst (DWD).

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

Logo picture

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apicast-0.9.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

apicast-0.9.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

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

Hashes for apicast-0.9.0.tar.gz
Algorithm Hash digest
SHA256 66324c6f3c5620422b39daf901b437db7be05f7a83825cef28050f3b852264cb
MD5 981a94b6ca8a10aac48f7b2e8fefed7e
BLAKE2b-256 b89c2efcf133e7f9803e0ef148ad0465b8082370ecbe8ab34fd0ca326098fb6b

See more details on using hashes here.

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

Hashes for apicast-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07e98bc50ddd04120bc14141e7ac1ae65d0907ec0f8e45af4f405d1f014e8521
MD5 8ce19c9a5da16ce5a915d70827be0ec0
BLAKE2b-256 af8cdbdaa9b785049e95c78f36c56978311c4552867a512dd3630806f6c51daa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page