# @maxim_mazurok/gapi.client.jobs

> TypeScript typings for Cloud Talent Solution API v4

Latest version **4.0.20220802** (published 2022-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @maxim_mazurok/gapi.client.jobs
pnpm add @maxim_mazurok/gapi.client.jobs
yarn add @maxim_mazurok/gapi.client.jobs
bun add @maxim_mazurok/gapi.client.jobs
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.20220802 |
| Published | 2022-08-03 |
| First published | 2020-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 144.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 59 |
| Author | Maxim Mazurok |
| Maintainers | maxim_mazurok |

## Links

- npm: https://www.npmjs.com/package/@maxim_mazurok/gapi.client.jobs
- Repository: https://github.com/Maxim-Mazurok/google-api-typings-generator
- Homepage: https://github.com/Maxim-Mazurok/google-api-typings-generator#readme
- Issues: https://github.com/Maxim-Mazurok/google-api-typings-generator/issues
- npm.io page: https://npm.io/package/@maxim_mazurok/gapi.client.jobs

## Dependencies (1)

- [@types/gapi.client](https://npm.io/package/@types/gapi.client.md) *

## Recent versions

- 4.0.20220802 (latest) — 2022-08-03
- 4.0.20220722 — 2022-07-25
- 4.0.20220714 — 2022-07-20
- 4.0.20220701 — 2022-07-01
- 4.0.20220614 — 2022-06-14
- 4.0.20220606 — 2022-06-07
- 4.0.20220513 — 2022-05-26
- 4.0.20220419 — 2022-05-01
- 4.0.20220325 — 2022-03-29
- 4.0.20220303 — 2022-03-07
- 4.0.20220211 — 2022-02-16
- 4.0.20220125 — 2022-01-27
- 4.0.20211210 — 2021-12-15
- 4.0.20211202 — 2021-12-03
- 4.0.20211118 — 2021-11-18
- … 19 more at https://npm.io/package/@maxim_mazurok/gapi.client.jobs/versions

## README

# 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](https://cloud.google.com/talent-solution/job-search/docs/).

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

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

Then load api client wrapper:

```typescript
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:

```typescript
// 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:

```typescript
```

---
_Source: https://npm.io/package/@maxim_mazurok/gapi.client.jobs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
