Skip to main content

Nina-API

A Python API wrapper to retrieve warnings from the german NINA app.

How to use package

import asyncio

from pynina import Nina, ApiError


async def main():
    try:
        n: Nina = Nina()
        n.add_region("146270000000")
        await n.update()

        for i in n.warnings["146270000000"]:
            print(i)
            print(i.is_valid())

    except ApiError as error:
        print(f"Error: {error}")


loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()

Download files

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

Source Distribution

pynina-1.0.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynina-1.0.2-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file pynina-1.0.2.tar.gz.

File metadata

  • Download URL: pynina-1.0.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for pynina-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ca96dfbe15cabb8a4aaff0eb5859c0870328a92849cd62ea940eff610cc9f6be
MD5 4b007564e3fd4f9577fe7649720331a8
BLAKE2b-256 f0aa6f8b7f5481993e7594c085efddc98b26483b127bda0256a4745a83d8c8e0

See more details on using hashes here.

File details

Details for the file pynina-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pynina-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.22

File hashes

Hashes for pynina-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4329edbc4aadca7a132e2de9eea2730775c60822d3055724654f9db53c785e96
MD5 a39ff535900867bfe79456d6ab661cf2
BLAKE2b-256 36a10b55d0227b8c46fd5aa17ec6a6dc3ed299add3099d4d075b96fce399d44d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page