2.0.0 • Published 3 years ago
@edaptio/data-service-client v2.0.0
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) => {});