@hamsterbase/sdk
v0.4.0
Published
sdk of hamsterbase
Downloads
17
Readme
@hamsterbase/sdk
sdk of hamsterbase
Install
npm i @hamsterbase/sdk --save
How to use
node
require('isomorphic-fetch');
const { HamsterBase } = require('@hamsterbase/sdk');
const client = new HamsterBase({
token: 'token',
endpoint: 'endpoint',
});
client.webpages.list().then((res) => {
console.log(`fetch ${res.webpages.length} webpages`);
});