Skip to main content

Apicast


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

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)

Source distribution for apicast 0.9.0
File Size Uploaded
apicast-0.9.0.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apicast 0.9.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page