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

2.1.1 • Public • Published

Corivo SDK

A simple and easy to use client for the Corivo API


npm version

Installation

npm install @corivo/corivo-sdk

Usage

Import and initialize a client using an instance-id provided with your Corivo subscription.

import Corivo from '@corivo/corivo-sdk';
// Initializing a client
const client = new Corivo({
  instanceId: '...',
});

Make a request to the Corivo API

Fetch packageTour items

(async () => {
  const packageTours = await client.packageTour.getItems({ packageTourId: 1 });
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @corivo/corivo-sdk

Weekly Downloads

18

Version

2.1.1

License

none

Unpacked Size

374 kB

Total Files

67

Last publish

Collaborators

  • mister09
  • aegir-corivo
  • sveinnd
  • corivo-aevar
  • ingvara
  • arnaratli
  • finnur