/api-client-v5

This the javascript API client for the version 5 of the joblocal API.

Primary LanguageJavaScript

Joblocal Api-Client

Downloads Size Zipped Size

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

$ npm install --save @joblocal/api-client-v5

Using yarn:

$ yarn add @joblocal/api-client-v5

Usage

After installing the package you can use it as follows.

import createClient from '@joblocal/api-client-v5';

const client = createClient({
  url: 'https://api.joblocal.de/v5',
  token: 'user_id_token' || () => 'id_token' || null,
});

Development

Installing dependencies:

$ npm install

Verify by running tests:

$ npm test

Built with

  • Devour - Api client for JSON-Api-Specification compliant resource handling
  • 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.