0.0.15-alpha • Published 2 years 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
2 years ago
0.0.14-alpha
2 years ago
0.0.4-alpha
2 years ago
0.0.10-alpha
2 years ago
0.0.11-alpha
2 years ago
0.0.9-alpha
2 years ago
0.0.3-alpha
2 years ago
0.0.5-alpha
2 years ago
0.0.12-alpha
2 years ago
0.0.2-alpha
2 years ago
0.0.13-alpha
2 years ago
0.0.6-alpha
2 years ago
0.0.7-alpha
2 years ago
0.0.1-alpha
2 years ago
0.0.8-alpha
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago