Arbeitsagentur Jobsuche API
Project description
jobsuche
Die größte Stellendatenbank Deutschlands durchsuchen, Details zu Stellenanzeigen und Informationen über Arbeitgeber abrufen.
Die Authentifizierung funktioniert per OAuth 2 Client Credentials mit JWTs. Folgende Client-Credentials können dafür verwendet werden:
ClientID: c003a37f-024f-462a-b36d-b001be4cd24a
ClientSecret: 32a39620-32b3-4307-9aa1-511e3d7f48a8. Achtung: der OAuth header muss 'OAuthAccessToken' heißen.
Die API verfügt außerdem nicht über ein gültiges TLS Zertifikat. Deswegen sollte die TLS-Validierung deaktiviert werden.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 2.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[jobsuche]
poetry install
poetry add deutschland -E jobsuche
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 jobsuche
Getting Started
Please follow the installation procedure and then run the following:
import time
from deutschland import jobsuche
from pprint import pprint
from deutschland.jobsuche.api import default_api
from deutschland.jobsuche.model.job_application_details import JobApplicationDetails
from deutschland.jobsuche.model.job_details import JobDetails
from deutschland.jobsuche.model.job_search_response import JobSearchResponse
# Defining the host is optional and defaults to https://rest.arbeitsagentur.de/jobboerse/jobsuche-service
# See configuration.py for a list of all supported configuration parameters.
configuration = jobsuche.Configuration(
host = "https://rest.arbeitsagentur.de/jobboerse/jobsuche-service"
)
# 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 = jobsuche.Configuration(
host = "https://rest.arbeitsagentur.de/jobboerse/jobsuche-service"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with jobsuche.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = default_api.DefaultApi(api_client)
hash_id = "VK2qoXBe0s-UAdH_qxLDRrZrY5iY8a1PJt3MjJCXsdo=" # str |
try:
# Unternehmen Logo
api_response = api_instance.ed_v1_arbeitgeberlogo_hash_id_get(hash_id)
pprint(api_response)
except jobsuche.ApiException as e:
print("Exception when calling DefaultApi->ed_v1_arbeitgeberlogo_hash_id_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://rest.arbeitsagentur.de/jobboerse/jobsuche-service
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | ed_v1_arbeitgeberlogo_hash_id_get | GET /ed/v1/arbeitgeberlogo/{hashID} | Unternehmen Logo |
DefaultApi | pc_v2_app_jobs_hash_id_bewerbung_get | GET /pc/v2/app/jobs/{hashID}/bewerbung | Bewerbung Kontaktdaten |
DefaultApi | pc_v2_jobdetails_hash_id_get | GET /pc/v2/jobdetails/{hashID} | Jobdetail |
DefaultApi | pc_v4_app_jobs_get | GET /pc/v4/app/jobs | Jobsuche |
Documentation For Models
- JobApplicationDetails
- JobApplicationDetailsAngebotskontakt
- JobApplicationDetailsAngebotskontaktFestnetznummer
- JobApplicationDetailsAngebotskontaktMobilnummer
- JobDetails
- JobDetailsArbeitgeberAdresse
- JobDetailsArbeitsorte
- JobDetailsAusbildungen
- JobDetailsFertigkeiten
- JobDetailsFuehrungskompetenzen
- JobDetailsKoordinaten
- JobDetailsLinks
- JobDetailsLinksArbeitgeberlogo
- JobDetailsLinksBewerbung
- JobDetailsLinksDetails
- JobDetailsLinksSelf
- JobDetailsMobilitaet
- JobDetailsSprachkenntnisse
- JobSearchResponse
- JobSearchResponseAggregierungen
- JobSearchResponseAggregierungenBundesland
- JobSearchResponseAggregierungenPlzebene2
- JobSearchResponseAuswahl
- JobSearchResponseEmbedded
- JobSearchResponseEmbeddedArbeitsort
- JobSearchResponseEmbeddedArbeitsortKoordinaten
- JobSearchResponseEmbeddedJobs
- JobSearchResponseEmbeddedLinks
- JobSearchResponseEmbeddedLinksArbeitgeberlogo
- JobSearchResponseEmbeddedLinksDetails
- JobSearchResponseEmbeddedLinksJobdetails
- JobSearchResponseFacetten
- JobSearchResponseLinks
- JobSearchResponseLinksFirst
- JobSearchResponseLinksLast
- JobSearchResponseLinksNext
- JobSearchResponseLinksSelf
- JobSearchResponsePage
- JobSearchResponseParserResult
- JobSearchResponseParserResultKoordinaten
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 jobsuche.apis and jobsuche.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.jobsuche.api.default_api import DefaultApi
from deutschland.jobsuche.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 jobsuche
from deutschland.jobsuche.apis import *
from deutschland.jobsuche.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
Hashes for de_jobsuche-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00325769fa75f8a6a88f9224d286f307f237c495468f94a2bb94c4ae58878b2c |
|
MD5 | d0740e61a5d2c1167a9ede764dd15dbb |
|
BLAKE2b-256 | 0bdd20386e3eea8d482f06d7ac253a760b7f73a28170923401b5875124487891 |