directual
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

directual-sdk-js

The Directual Web Library serves as the base JavaScript library for Directual based projects.
https://directual.com/

Support

  • Explorer 11
  • Chrome 43+
  • Node 8.9+

Install

npm install directual

Usage in Node

const directual = require('directual');
 
directual.api.defaults.baseURL = 'https://directual.com/good/api/v3';
directual.api.defaults.params = {
  appID: 'xxxxx',
  appSecret: 'xxxxx',
};
 
directual.api
  .structure('xxxxx')
  .search({
    filters: [
      {
        field: 'id',
        value: 1,
        exp: '==',
      },
    ],
  })
  .then((response) => {
    console.log(response.result.list);
  });

Readme

Keywords

Package Sidebar

Install

npm i directual

Weekly Downloads

3

Version

0.9.0

License

MIT

Unpacked Size

46 kB

Total Files

15

Last publish

Collaborators

  • archangel-irk