Bundesagentur für Arbeit: Coachingangebote API
Project description
coachingangebote
Eine der größten Datenbanken zu Coaching-/Aktivierungsangeboten Deutschlands durchsuchen.
Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden:
ClientID: ee971dcb-96fa-47b3-b2be-00863e4fc88b
ClientSecret: 1050e0b7-6db8-49e8-aff9-0e58e556681f
Achtung: der generierte Token muss bei folgenden GET-requests im header als 'OAuthAccessToken' inkludiert werden.
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 For more information, please visit https://github.com/AndreasFischer1985/coachingangebote-api
Requirements.
Python >= 3.6
Installation & Usage
pip install
pip install deutschland[coachingangebote]
poetry install
poetry add deutschland -E coachingangebote
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 coachingangebote
Getting Started
Please follow the installation procedure and then run the following:
import time
from deutschland import coachingangebote
from pprint import pprint
from deutschland.coachingangebote.api import default_api
from deutschland.coachingangebote.model.response import Response
# Defining the host is optional and defaults to https://rest.arbeitsagentur.de/infosysbub/avgs
# See configuration.py for a list of all supported configuration parameters.
configuration = coachingangebote.Configuration(
host = "https://rest.arbeitsagentur.de/infosysbub/avgs"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure OAuth2 access token for authorization: clientCredAuth
configuration = coachingangebote.Configuration(
host = "https://rest.arbeitsagentur.de/infosysbub/avgs"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with coachingangebote.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
mz = "SA%2001" # str | Maßnahmenziel - SA%2001 = Heranführung an den Ausbildungs- und Arbeitsmarkt sowie Feststellung, Verringerung und Beseitigung von Vermittlungshemmnissen; SA%2004 = Heranführung an eine selbständige Arbeit; SA%2005 = Stabilisierung einer Beschäftigungsaufnahme.
sw = "Vermittlungshemmnisse" # str | Suchwort (optional)
ort = "Feucht_90537_11.224918_49.376701" # str | Ortsangabe nebst Postleitzahl und Koordinaten (optional)
pg = 1 # int | Ergebnissseite (beginnend mit 0) (optional)
re = "BY" # str | Region/Bundesland - BW=Baden-Württemberg; BY=Bayern; BE=Berlin; BB=Brandenburg; HB=Bremen; HH=Hamburg; HE=Hessen; MV=Mecklenburg-Vorpommern; NI=Niedersachsen; NW=Nordrhei-Westfalen; RP=Rheinland-Pfalz; SL=Saarland; SN=Sachsen; ST=Sachsen-Anhalt; SH=Schleswig-Holstein; TH=Thüringen. Mehrere Komma-getrennte Angaben möglich. (optional)
ban = 229563 # int | Anbieter-ID (optional)
uk = "Bundesweit" # str | Umkreis - Bundesweit=Bundesweit; 25=25 km; 50=50 km; 100=100 km; 150=150 km; 200=200 km. (optional)
mna = 0 # int | Maßnahmenart - 0=Einzelmaßnahme; 1=Gruppenmaßnahme. Komma-separierte Angaben möglich. (optional)
deufoev = True # bool | DEUFOEV - true = (nur) Anbieter berufsbezogener Sprachförderung Deutsch (DeuFöV) anzeigen. (optional)
sort = "ta" # str | Sortierungskriterium - ta = Maßnahmetitel A-Z; tz = Maßnahmetitel Z-A. (optional)
try:
# Coaching-/Aktivierungsangebote
api_response = api_instance.aktivierungsangebote(mz, sw=sw, ort=ort, pg=pg, re=re, ban=ban, uk=uk, mna=mna, deufoev=deufoev, sort=sort)
pprint(api_response)
except coachingangebote.ApiException as e:
print("Exception when calling DefaultApi->aktivierungsangebote: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://rest.arbeitsagentur.de/infosysbub/avgs
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | aktivierungsangebote | GET /pc/v1/aktivierungsangebote | Coaching-/Aktivierungsangebote |
Documentation For Models
- Response
- ResponseAggregations
- ResponseAggregationsANZAHLAUSGEFILTERT
- ResponseAggregationsANZAHLGESAMT
- ResponseAggregationsREGIONEN
- ResponseAggregationsUNTERRICHSFORMEN
- ResponseEmbedded
- ResponseEmbeddedAbstaende
- ResponseEmbeddedAdresse
- ResponseEmbeddedAngebot
- ResponseEmbeddedAngebotAnbieter
- ResponseEmbeddedAngebotAnbieterAdresse
- ResponseEmbeddedAngebotAnbieterAdresseOrtStrasse
- ResponseEmbeddedAngebotAnbieterAdresseOrtStrasseKoordinaten
- ResponseEmbeddedAngebotAnbieterAdresseOrtStrasseLand
- ResponseEmbeddedAngebotAnbieterLogo
- ResponseEmbeddedAngebotSuchworte
- ResponseEmbeddedAngebotSystematiken
- ResponseEmbeddedAngebotZertifizierer
- ResponseEmbeddedAnsprechpartner
- ResponseEmbeddedOrt
- ResponseEmbeddedRollen
- ResponseEmbeddedTermine
- ResponseEmbeddedUnterrichtsform
- ResponseLinks
- ResponseLinksFirst
- ResponsePage
Documentation For Authorization
clientCredAuth
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes: N/A
Author
Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in coachingangebote.apis and coachingangebote.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.coachingangebote.api.default_api import DefaultApi
from deutschland.coachingangebote.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 coachingangebote
from deutschland.coachingangebote.apis import *
from deutschland.coachingangebote.models import *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file de-coachingangebote-0.1.0.tar.gz
.
File metadata
- Download URL: de-coachingangebote-0.1.0.tar.gz
- Upload date:
- Size: 53.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a4fa1ea0e7d3f44a6b76c0aaa3b879b8c599c393b7db5dcce10a77e7ad9948 |
|
MD5 | fcf09c8ab345e7a3510693e32a8f37bb |
|
BLAKE2b-256 | f1d4d0cd74ddf9d7f990855ac3b54d60919d955accf53c59ac8642121cf3528b |
File details
Details for the file de_coachingangebote-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: de_coachingangebote-0.1.0-py3-none-any.whl
- Upload date:
- Size: 127.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b702ffabe0bda95dd6c03a871bd025486f4bbb54904e5e29316d0b7d49810a25 |
|
MD5 | ae882be69a96ba94c5ad090da7f45c48 |
|
BLAKE2b-256 | 4cebd1da8feef0f2774c6dafe82fccc974df92ca4c256594a6fc9bfaeab3b7f4 |