Skip to main content

zoll

Abfragen von Importzöllen und Wechselkursen

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 0.1.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[zoll]

poetry install

poetry add deutschland -E zoll

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Usage

Import the package:

from deutschland import zoll

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import zoll
from pprint import pprint
from deutschland.zoll.api import default_api
from deutschland.zoll.model.categories import Categories
from deutschland.zoll.model.countries import Countries
from deutschland.zoll.model.exchange_rates import ExchangeRates
from deutschland.zoll.model.product_groups import ProductGroups
from deutschland.zoll.model.product_units import ProductUnits
from deutschland.zoll.model.products import Products
# Defining the host is optional and defaults to https://www.bundesfinanzministerium.de/SiteGlobals/Functions/Apps/retrieve
# See configuration.py for a list of all supported configuration parameters.
configuration = zoll.Configuration(
    host = "https://www.bundesfinanzministerium.de/SiteGlobals/Functions/Apps/retrieve"
)



# Enter a context with an instance of the API client
with zoll.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = default_api.DefaultApi(api_client)
    client = "ZUP" # str |  (default to "ZUP")
view = "renderJson[App]" # str |  (default to "renderJson[App]")
user_agent = "zollundpost/2 CFNetwork/1220.1 Darwin/20.3.0" # str |  (default to "zollundpost/2 CFNetwork/1220.1 Darwin/20.3.0")
last_modified_date = "" # str |  (optional) (default to "")

    try:
        # Produktkategorien
        api_response = api_instance.kategorien_get(client, view, user_agent, last_modified_date=last_modified_date)
        pprint(api_response)
    except zoll.ApiException as e:
        print("Exception when calling DefaultApi->kategorien_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://www.bundesfinanzministerium.de/SiteGlobals/Functions/Apps/retrieve

Class Method HTTP request Description
DefaultApi kategorien_get GET /kategorien Produktkategorien
DefaultApi kurse_app_kurs_export_txt_get GET /Kurse/App/KursExport.txt Währungskurse
DefaultApi laender_get GET /laender
DefaultApi produkte_get GET /produkte Produkte
DefaultApi produkteinheiten_get GET /produkteinheiten
DefaultApi produktgruppen_get GET /produktgruppen

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

kontakt@bund.dev

Notes for Large OpenAPI documents

If the OpenAPI document is large, imports in zoll.apis and zoll.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:

Solution 1: Use specific imports for apis and models like:

  • from deutschland.zoll.api.default_api import DefaultApi
  • from deutschland.zoll.model.pet import Pet

Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:

import sys
sys.setrecursionlimit(1500)
from deutschland import zoll
from deutschland.zoll.apis import *
from deutschland.zoll.models import *

Metadata

Release files for de-zoll 0.1.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 de-zoll 0.1.0
File Size Uploaded
de-zoll-0.1.0.tar.gz 45.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for de-zoll 0.1.0
File Interpreter ABI Platform
de_zoll-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 130.6 kB

Release files / de-zoll-0.1.0.tar.gz

Download URL de-zoll-0.1.0.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f64515c9d544235e2bb30116999d002ef9b847f14f96a24c1bdb06604e66684f
BLAKE2b-256 checksum
How to use checksums
bf0b3dc2f9db4fd3954792c031a032e38cfde82e16f7e040dba8997c920133cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

Release files / de_zoll-0.1.0-py3-none-any.whl

Download URL de_zoll-0.1.0-py3-none-any.whl
Size 85.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de7b917d87f01658c0963b0e9c47299046c46bb69bd886e0210dc6aca8e7bbbe
BLAKE2b-256 checksum
How to use checksums
1a932df1b7f151fa8df751e404731509e4105536632ae9aafdb63706ffb3bd20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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