@thg-altitude/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

Altitude SDK

An SDK for the Altitude platform.

Setup In Your Project

Simply run

npm i @thg-altitude/sdk
or
yarn add @thg-altitude/sdk

Using this in your project

You will need to initialise an instance of Altitude inside your project, using a client Id and secret obtained from the altitude platform site.

import { Altitude } from '@thg-altitude/sdk';


const altitude = new Altitude({
    clientId: client_id,
    clientSecret: secret_key,
  });

You can then perform such commands as

altitude.getAllSites(), altitude.deploy({branch: string}, siteId) etc

to deploy your sites.

Documentation

You can find a full list of possible methods and documentation for this package at https://thg-headless.github.io/sdk.

Readme

Keywords

none

Package Sidebar

Install

npm i @thg-altitude/sdk

Weekly Downloads

85

Version

0.0.19

License

MIT

Unpacked Size

76 kB

Total Files

68

Last publish

Collaborators

  • sa-altitude