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
- Activity
- Address
- AddressCountry
- ClientOrganization
- DetailedSearchResults
- DetailedSearchResultsSearchParameters
- Donator
- DonatorDonationEuro
- Entry
- EntryAccount
- EntryEmployeeCount
- EntryFinancialExpensesEuro
- Facet
- FieldOfInterest
- LegalForm
- LegalRepresentative
- LegislativeProject
- LobbyistIdentity
- Media
- MediaMedia
- NamedEmployee
- NumberRange
- SearchResult
- SortOrder
Documentation For Authorization
All endpoints do not require authorization.
Author
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 DefaultApifrom 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 *
Metadata
Release files for de-bundestag-lobbyregister 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| de-bundestag-lobbyregister-0.1.0.tar.gz | 53.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| de_bundestag_lobbyregister-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 163.0 kB
Release files / de-bundestag-lobbyregister-0.1.0.tar.gz
| Download URL | de-bundestag-lobbyregister-0.1.0.tar.gz |
|---|---|
| Size | 53.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33258de532bae77f3579a09c26fb3543bbad853aa2a3509a5779523d63888065
|
|
BLAKE2b-256 checksum How to use checksums |
4f1adf65de9a8666b6a9535e3d2a516c9ee99c207a5a7c03973458473b0b7f14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / de_bundestag_lobbyregister-0.1.0-py3-none-any.whl
| Download URL | de_bundestag_lobbyregister-0.1.0-py3-none-any.whl |
|---|---|
| Size | 110.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e50dc1f0cee94f9f4ef3390704b67100fcc67f32eb37232587684be341cfef5
|
|
BLAKE2b-256 checksum How to use checksums |
669c6a2e37041f6df466398c100a48c11bb31520941b280c61fede247b6bb320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|