1.0.3 • Published 2 years ago

pooldata v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation

Using npm:

npm install pooldata

Using yarn:

yarn add pooldata

Import module

CommonJS usage

const Pooldata = require('pooldata');

or ES6 usage

import Pooldata from "pooldata";

Example

Authentication Client

JavaScrypt

const client = new Pooldata({
  publicKey: 'your publicKey',
  secretKey: 'your secretKey'
});

or TypeScrypt

const client: Pooldata = new Pooldata({
  publicKey: 'your publicKey',
  secretKey: 'your secretKey'
});

Get Unions

const unions = await client.getUnions();

Get Datasets

const datasets = await client.getDatasets();

Get Union by id

unionId - id of the union

const union = await client.getUnionById('unionId');
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago