1.1.3 • Published 2 years ago

flixcheck-javascript-sdk v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

Flixcheck JavaScript SDK

Welcome to the Flixcheck JavaScript SDK!

Getting started

1. Install the library

npm install flixcheck-javascript-sdk

2. Require the module

const flixcheck = require("flixcheck-javascript-sdk");

3. Instantiate a new FlixcheckClient

We strongly advise to not write the Flixcheck User ID and its API key in your code. Use process environment variables instead. Given the User ID and API key are stored in local variables userId and apiKey respectively, create a new client like this:

const client = new flixcheck.FlixcheckClient(userId, apiKey)

You can optionally provide more options as third parameter:

{
    "endpoint": "https://preview.flixcheck.de"
}

4. Start using it!

E.g. get a check:

client.getCheck(checkId)
    .then((check) => {
        console.log("Check Subject:", check.subject);
    })
    .catch((error) => {
        console.error("Cannot receive check:", error);
    })

Functions

ToDo

1.1.1

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.17.1

2 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago