0.0.15-alpha • Published 11 months ago
interopdata v0.0.15-alpha
Interopdata Node.js Library
Installation
Install the package with:
npm install interopdata
# or
yarn add interopdata
Usage
The package needs to be configured with your account's secret key, which is available in the Interopdata Dashboard. Require it with the key's value:
const interopdata = require('interopdata')('sk_live...');
interopdata.customers.create({
id: 'customer-id'
})
.then(customer => console.log(customer.id))
.catch(error => console.error(error));
Or using ES modules and async
/await
:
import Interopdata from 'interopdata';
const interopdata = new Interopdata('sk_live_...');
const customer = await interopdata.customers.create({
id: 'customer-id'
});
console.log(customer);
0.0.15-alpha
11 months ago
0.0.14-alpha
11 months ago
0.0.4-alpha
1 year ago
0.0.10-alpha
1 year ago
0.0.11-alpha
1 year ago
0.0.9-alpha
1 year ago
0.0.3-alpha
1 year ago
0.0.5-alpha
1 year ago
0.0.12-alpha
1 year ago
0.0.2-alpha
1 year ago
0.0.13-alpha
1 year ago
0.0.6-alpha
1 year ago
0.0.7-alpha
1 year ago
0.0.1-alpha
1 year ago
0.0.8-alpha
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago