šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

apicast

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apicast

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

0.9.0
PyPI
Maintainers
1

####### Apicast #######

|

.. start-badges

|ci-tests| |ci-coverage| |license| |pypi-downloads| |python-versions| |status| |pypi-version|

.. |ci-tests| image:: https://github.com/hiveeyes/apicast/workflows/Tests/badge.svg :target: https://github.com/hiveeyes/apicast/actions?workflow=Tests

.. |ci-coverage| image:: https://codecov.io/gh/hiveeyes/apicast/branch/main/graph/badge.svg :target: https://codecov.io/gh/hiveeyes/apicast :alt: Test suite code coverage

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/apicast.svg :target: https://python.org

.. |pypi-version| image:: https://img.shields.io/pypi/v/apicast.svg :target: https://pypi.org/project/apicast/

.. |status| image:: https://img.shields.io/pypi/status/apicast.svg :target: https://pypi.org/project/apicast/

.. |license| image:: https://img.shields.io/pypi/l/apicast.svg :target: https://pypi.org/project/apicast/

.. |pypi-downloads| image:: https://static.pepy.tech/badge/apicast/month :target: https://pepy.tech/project/apicast

.. end-badges

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

Logo picture

.. _Hiveeyes Ā» DWD-Prognose Bienenflug: https://community.hiveeyes.org/t/dwd-prognose-bienenflug/787

Keywords

honey bee apis mellifera flight forecast information dwd cdc deutscher wetterdienst climate data center weather opendata data acquisition transformation export geospatial temporal timeseries sensor network observation http rest api json markdown

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts