@sieval/hub-client

The TypeScript/JavaScript client for the Sieval Hub

Usage no npm install needed!

<script type="module">
  import sievalHubClient from 'https://cdn.skypack.dev/@sieval/hub-client';
</script>

README

@sieval/hub-client

QuickStart

1. Import the library:

import {SievalHubClient} from '@sieval/hub-client';

2. Create a new instance and set base url and api key:

const client = new SievalHubClient().setBaseUrl('URL')
                                    .setApiKey('APIKEY');

3. Call methods:

const project = await this.hubClient.deletePolygon(this.project, polygon.referenceId);