0.0.39 • Published 2 months ago

@skyledge/sdk v0.0.39

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 months ago

The Sky Ledge SDK provides convenient access to the Sky Ledge API from applications written in both server-side and client-side JavaScript/Typescript.

For more information about how to use Sky Ledge, visit the Sky Ledge documentation.

Installation

NPM:

npm install @skyledge/sdk --save

Yarn:

yarn add @skyledge/sdk

Usage

The package needs to be configured with your account's API key, which is available from the Management section of your Sky Ledge account.

import { Configuration } from "@skyledge/sdk";

const configuration = new Configuration({
  apiKey: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX",
  basePath: "https://api.skyledge.com",
});

Once you have your configuration object, you can instantiate the different Sky Ledge APIs:

import { Configuration, AssetsApi } from "@skyledge/sdk";

const configuration = new Configuration({
  apiKey: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX",
  basePath: "https://api.skyledge.com",
});

const assetsApi = new AssetsApi(configuration);

const assets = await assetsApi.listAssets();
0.0.37

5 months ago

0.0.38

5 months ago

0.0.39

2 months ago

0.0.35

1 year ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.34

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.19

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago