This repository provides an api-client to use the joblocal api.
npm install @joblocal/api-clientThis v4 API is deprecated! Please use the v5 client instead: https://github.com/joblocal/api-client-v5
This package contains a pre-configured devour-client for the Joblocal api
Devour - Api client for JSON-Api-Specification compliant resource handling
Documentation - Api Documentation
sh
$ yarn add @joblocal/api-client
`Using npm:
`sh
$ npm install --save @joblocal/api-client
`Usage
After installing the package you can use it as follows.`javascript
import createClient from '@joblocal/api-client';const client = createClient({
url: 'https://api.joblocal.de/v4',
token: 'user_id_token' || () => 'id_token' || null,
});
`Development
Installing dependencies:
`sh
$ yarn install
`Verify by running tests:
`sh
$ yarn test
``See also the list of contributors who participated in this project.