Skip to main content

Bundestag: Lobbyregister

Project description

bundestag-lobbyregister

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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

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

Requirements.

Python >= 3.6

Installation & Usage

pip install

pip install deutschland[bundestag_lobbyregister]

poetry install

poetry add deutschland -E bundestag_lobbyregister

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 bundestag_lobbyregister

Getting Started

Please follow the installation procedure and then run the following:

import time
from deutschland import bundestag_lobbyregister
from pprint import pprint
from deutschland.bundestag_lobbyregister.api import default_api
from deutschland.bundestag_lobbyregister.model.detailed_search_results import DetailedSearchResults
from deutschland.bundestag_lobbyregister.model.sort_order import SortOrder
# Defining the host is optional and defaults to https://www.lobbyregister.bundestag.de
# See configuration.py for a list of all supported configuration parameters.
configuration = bundestag_lobbyregister.Configuration(
    host = "https://www.lobbyregister.bundestag.de"
)



# Enter a context with an instance of the API client
with bundestag_lobbyregister.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = default_api.DefaultApi(api_client)
    q = "q_example" # str | The text to search for. Will search in all text fields.  Leave empty to retrieve all registrations (optional)
sort = SortOrder("REGISTRATION_DESC") # SortOrder |  (optional)

    try:
        # Search through all registrations
        api_response = api_instance.suche_detail_json(q=q, sort=sort)
        pprint(api_response)
    except bundestag_lobbyregister.ApiException as e:
        print("Exception when calling DefaultApi->suche_detail_json: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://www.lobbyregister.bundestag.de

Class Method HTTP request Description
DefaultApi suche_detail_json GET /sucheDetailJson Search through all registrations

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 bundestag_lobbyregister.apis and bundestag_lobbyregister.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.bundestag_lobbyregister.api.default_api import DefaultApi
  • from deutschland.bundestag_lobbyregister.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 bundestag_lobbyregister
from deutschland.bundestag_lobbyregister.apis import *
from deutschland.bundestag_lobbyregister.models import *

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

de-bundestag-lobbyregister-0.1.0.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

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

de_bundestag_lobbyregister-0.1.0-py3-none-any.whl (110.0 kB view details)

Uploaded Python 3

File details

Details for the file de-bundestag-lobbyregister-0.1.0.tar.gz.

File metadata

  • Download URL: de-bundestag-lobbyregister-0.1.0.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

File hashes

Hashes for de-bundestag-lobbyregister-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33258de532bae77f3579a09c26fb3543bbad853aa2a3509a5779523d63888065
MD5 4d11c3f83efbd872c52a77fc647fed9c
BLAKE2b-256 4f1adf65de9a8666b6a9535e3d2a516c9ee99c207a5a7c03973458473b0b7f14

See more details on using hashes here.

File details

Details for the file de_bundestag_lobbyregister-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: de_bundestag_lobbyregister-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 110.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.8

File hashes

Hashes for de_bundestag_lobbyregister-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e50dc1f0cee94f9f4ef3390704b67100fcc67f32eb37232587684be341cfef5
MD5 30fc64a78f7fd7710ac02abbbc0c00f3
BLAKE2b-256 669c6a2e37041f6df466398c100a48c11bb31520941b280c61fede247b6bb320

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