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.1.0.tar.gz (105.8 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.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for netzooe_eservice_api-1.1.0.tar.gz
Algorithm Hash digest
SHA256 abcce6259f44074e2a945bd9acac3eb573b043851b53edfd12871eaa752fefcb
MD5 b0ce15bae59c1794125fae915541fc61
BLAKE2b-256 c91bbb9f4cc52dc89969c198295cc29928e4f71ae8caf16bac7140b1b5df1b85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for netzooe_eservice_api-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 376905d52edcbc35df0c2e3381f79c629930f38ce4cec949ac312cb233e32f43
MD5 061c726f7d4227f35fc13961159af0c0
BLAKE2b-256 a8b8399e6679857299cb1620e147f8678f7050c94ab89dad7b7f606f5b1a8317

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