npm install @corivo/corivo-sdk
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: '...',
});
Fetch packageTour items
(async () => {
const packageTours = await client.packageTour.getItems({ packageTourId: 1 });
})();