Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobsuche is broken, also no working example or information how to auth #153

Open
StoyanStAtanasov opened this issue Feb 13, 2025 · 0 comments

Comments

@StoyanStAtanasov
Copy link

Image

The code:

from deutschland import jobsuche
from pprint import pprint
from deutschland.jobsuche.api import default_api

import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

configuration = jobsuche.Configuration(
    host = "https://api-con.arbeitsagentur.de/prod/jobboerse/jobsuche-service",
)
configuration.verify_ssl = False

# 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)

    try:
        api_response = api_instance.pc_v4_app_jobs_get(size=10, page=1)
        pprint(api_response)
    except jobsuche.ApiException as e:
        print("Exception when calling DefaultApi->pc_v4_app_jobs_get: %s\n" % e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant