Search code examples
pythongoogle-cloud-platformgoogle-apigoogle-api-clientgoogle-apis-explorer

get blank response in google talent solution api


I want to search all jobs with google jobs api. Here is my code.

job_query = {
        "query": "Python",
    }
request_metadata = {
        'user_id': 'UNKNOWN',
        'session_id': 'UNKNOWN',
        'domain': "UNKNOWN",
    }
jobs = client.search_jobs(parent, request_metadata,
                              job_query=job_query,
                              enable_broadening=False,
                              disable_keyword_match=False,
                              page_size=20,
                              search_mode="JOB_SEARCH",
                              )

Do google jobs api only return jobs i've created?


Solution

  • Google Jobs API does not provide a database of jobs, you must add jobs to your project before the search will return them. This API is intended to allow you to build a jobs systems.

    Google does also have jobs.google.com which allows you to search jobs listed on other websites, however there is no API to retrieve this data.