@skyledge/sdk v0.0.35
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();
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
10 months ago
10 months ago
10 months ago
6 months ago
6 months ago
6 months ago
6 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago