Skip to main content

A Python wrapper for the unofficial Netz Oberösterreich eService-Portal API.

Project description

Netz OÖ eService API

A Python wrapper for the unofficial Netz Oberösterreich eService-Portal API.

coverage-badge Version CI

Getting started

pip install netzooe_eservice_api

Usage

import asyncio
from typing import Any

from netzooe_eservice_api.api import NetzOOEeServiceAPI

from aiohttp import ClientSession

async def main():
    async with ClientSession() as session:
        client: NetzOOEeServiceAPI = NetzOOEeServiceAPI(
            username="test",
            password="test",
            session=session,
        )

        # Get dashboard data
        dashboard: dict[str, Any] = await client.dashboard()

        for dashboard_contract_accounts in dashboard["contractAccounts"]:
            # Get contract accounts data
            contract_accounts: dict[str, Any] = await client.contract_accounts(
                business_partner_number=dashboard_contract_accounts["businessPartnerNumber"],
                contract_account_number=dashboard_contract_accounts["contractAccountNumber"],
            )

asyncio.run(main())

Changelog

The changelog lives in the CHANGELOG.md document. The format is based on Keep a Changelog.

Get Involved

The Netz OÖ eService-Portal API is an open-source project and contributions are welcome. You can:

  • Report issues or request new features
  • Improve documentation
  • Contribute code
  • Support the project by starring it on GitHub ⭐

I'm happy about your contributions to the project! You can get started by reading the CONTRIBUTING.md.

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

netzooe_eservice_api-1.0.2.tar.gz (105.4 kB view details)

Uploaded Source

Built Distribution

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

netzooe_eservice_api-1.0.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netzooe_eservice_api-1.0.2.tar.gz
  • Upload date:
  • Size: 105.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for netzooe_eservice_api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 85b2541821a04b807e26a8b8565a2f88a30e85e4dfdd5e6761b5f78aa00f1b05
MD5 931240768df2a2e4c4cb5808703d67ba
BLAKE2b-256 0d151e290d450fc1127cf5f069a9184364fce7d757904ecf2d4ec30e7d16c67d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netzooe_eservice_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af9fa7c2a49a16824288e20ea478ccfa73163708aeb2cc7875924158026425b5
MD5 7413a40dd42009a58b852917bcefcca2
BLAKE2b-256 d607350176cb94f21be41eab3b881f77e737f7087e45006afcd205d47ba4007d

See more details on using hashes here.

Supported by

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