@joblocal/api-client
v2.10.4
Published
This repository provides an api-client to use the joblocal api.
Downloads
78
Keywords
Readme
Joblocal Api-Client
This 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
Requirements
- Yarn or npm
Installation
Using yarn:
$ yarn add @joblocal/api-client
Using npm:
$ npm install --save @joblocal/api-client
Usage
After installing the package you can use it as follows.
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:
$ yarn install
Verify by running tests:
$ yarn test
Built with
- Devour - Api client for JSON-Api-Specification compliant resource handling
- Yarn - Dependency Management
- Webpack - Application Bundler
- Jest - Test Runner
Also see
Contributing
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and feature requests.
Authors
- Joblocal GmbH - Initial work - Joblocal
See also the list of contributors who participated in this project.