1.1.43 • Published 5 months ago

@celitech/celitech-sdk v1.1.43

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Typescript/Javascript library for interacting with the Celitech API

CI NPM version

API Reference

For a complete API reference with code examples for each endpoint in different languages - Make sure to visit https://docs.celitech.net

Installation

npm install @celitech/celitech-sdk
# or
yarn add @celitech/celitech-sdk

Setup

The package needs to be configured with your account's clientId and clientSecret, which are available in the Celitech Dashboard.

import { Celitech } from "@celitech/celitech-sdk";

const celitech = new Celitech({
  clientId: "CLIENT_ID",
  clientSecret: "CLIENT_SECRET",
  environment: "PRODUCTION",
});
OptionRequiredDefaultDescription
clientIdtrueThe Client ID to be used for OAUTH 2.0 - available on your Celitech dashboard
clientSecrettrueThe Client Secret to be used for OAUTH 2.0 - available on your Celitech dashboard

Basic example

celitech.destinations
  .list()
  .then((response) => {
    console.log(response);
  })
  .catch((error) => {
    console.log(error);
  });

Or using ES modules and async/await:

const response = await celitech.destinations.list();

console.log(response);
1.1.43

5 months ago

1.1.38

9 months ago

1.1.37

9 months ago

1.1.36

10 months ago

1.1.39

9 months ago

1.1.41

8 months ago

1.1.40

9 months ago

1.1.42

8 months ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.35

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.30

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago