4.0.20220802 • Published 2 years ago

@maxim_mazurok/gapi.client.jobs v4.0.20220802

Weekly downloads
39
License
MIT
Repository
github
Last release
2 years ago

TypeScript typings for Cloud Talent Solution API v4

Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. For detailed description please check documentation.

Installing

Install typings for Cloud Talent Solution API:

npm install @types/gapi.client.jobs@v4 --save-dev

Usage

You need to initialize Google API client in your code:

gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});

Then load api client wrapper:

gapi.client.load('jobs', 'v4', () => {
  // now we can use gapi.client.jobs
  // ...
});

Don't forget to authenticate your client before sending any request to resources:

// declare client_id registered in Google Developers Console
var client_id = '',
  scope = [ 
      // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
      'https://www.googleapis.com/auth/cloud-platform',

      // Manage job postings
      'https://www.googleapis.com/auth/jobs',
    ],
    immediate = true;
// ...

gapi.auth.authorize(
  { client_id: client_id, scope: scope, immediate: immediate },
  authResult => {
    if (authResult && !authResult.error) {
        /* handle successful authorization */
    } else {
        /* handle authorization error */
    }
});

After that you can use Cloud Talent Solution API resources:

4.0.20220722

2 years ago

4.0.20220701

2 years ago

4.0.20220714

2 years ago

4.0.20220614

2 years ago

4.0.20220802

2 years ago

4.0.20220513

2 years ago

4.0.20220606

2 years ago

4.0.20220325

2 years ago

4.0.20220419

2 years ago

4.0.20220303

2 years ago

4.0.20220125

2 years ago

4.0.20220211

2 years ago

4.0.20211118

3 years ago

4.0.20211202

2 years ago

4.0.20211210

2 years ago

4.0.20211025

3 years ago

4.0.20210914

3 years ago

4.0.20210830

3 years ago

4.0.20210722

3 years ago

4.0.20210715

3 years ago

4.0.20210611

3 years ago

4.0.20210506

3 years ago

4.0.20210504

3 years ago

4.0.20210502

3 years ago

4.0.20210415

3 years ago

4.0.20210413

3 years ago

4.0.20210309

3 years ago

4.0.20210226

3 years ago

4.0.20210217

3 years ago

4.0.20210107

3 years ago

4.0.20201208

3 years ago

4.0.20201124

3 years ago

4.0.20201111

3 years ago

3.0.20201111

4 years ago