0.0.35 • Published 3 months ago

@skyledge/sdk v0.0.35

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 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.35

3 months ago

0.0.30

3 months ago

0.0.31

3 months ago

0.0.32

3 months ago

0.0.34

3 months ago

0.0.28

3 months ago

0.0.29

3 months ago

0.0.20

10 months ago

0.0.21

10 months ago

0.0.22

10 months ago

0.0.24

6 months ago

0.0.25

6 months ago

0.0.26

6 months ago

0.0.27

6 months ago

0.0.19

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago