@oauth2-cli/veracross
v0.2.2
Published
Node.js command-line client for Veracross API
Downloads
90
Readme
@oauth2-cli/veracross
Node.js command-line client for Veracross API
Install
npm install @oauth2-cli/veracross @qui-cli/coreUsage
// configure scopes
Veracross.configure({
reason: 'example',
credentials: { scope: 'contact_info:read' }
});
// intialize @qui-cli environment
await Core.run();
// dump the result of an API request to the console
console.log(
(
await Veracross.Data().GET('/contact_info/{id}', {
params: { path: { id: 2 } }
})
).response
);See @groton/veracross-cli for more information about the client.
See @qui-cli for more information on developing CLI apps quickly in Node.js.
