2.0.0 • Published 3 years ago

@edaptio/data-service-client v2.0.0

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

Edaptio data service client

const dataClient = new DataClient({
    dryRun: false,
    debugMode: true,
    dataServiceToken: 'TOKEN HERE',
    dataServiceEndpointUrl: 'URL HERE'
});

// Push data like this...
client.push('test', {hello: 'world'}).then((res) => {});
// or like this...
const data1 = client.new('test', {hello: 'world1'});
const data2 = client.new('test', {hello: 'world2'});
const data3 = client.new('test', {hello: 'world2'});

client.push([data1, data2, data3]).then((res) => {});
2.0.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago