1.0.26 • Published 5 years ago

conichi-node-authorisation v1.0.26

Weekly downloads
3
License
ALv2
Repository
github
Last release
5 years ago

Conichi Node Authorisation

Conichi Node Authorisation allows conichi services and 3rd party partners to make authenticated requests to the conichi API.

Installation

Install conichi and save it in the dependencies list. For example:

npm install conichi-node-authorisation --save

Example usage

const conichi = require('conichi-node-authorisation');

// Make request
conichi.request(url, method, body, headers, (response) => {
  console.log(response);
});

// To upload an image, please make sure you are submitting it as multipart/formdata.
conichi.upload_image(url, formData, headers, (response) => {
  console.log(response);
});

NOTE: Headers must contain 'uuid', 'consumer_key' and 'api_secret'.

Please refer to the documentation for information about the correct url endpoints, HTTP methods and expected body content.

Please be sure to guard agaist 401 status response. If you receive a 401 error it means the session UUID has expired and the user must be prompted to start a new session before any more requests can be sent to the API.

API documentation

The documentation for our API can be found here: https://github.com/conichiGMBH/api-documentation

Report issues

If you have any issues with this module, please contact marc.horne@conichi.com.

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago