didox v0.0.6
didox
didox is a Node.js module developed to streamline the integration process for developers and their applications with the Electronic Document Management System (EDM) on the www.didox.uz platform. With this module, you can simplify interactions with Didox, send and receive electronic documents, manage your account, and more.
Installation
To install the didox module, use the following npm command:
NPM
npm install didox
Yarn
yarn add didox
Environment Variables
Before using the didox module, make sure to set the following environment variables in your project's .env file:
TBC_DIDOX_LOGIN
: Your didox login or username.
TBC_DIDOX_PASSWORD
: Your didox password or API key secret.
TBC_DIDOX_PARTNER_TOKEN
: Your didox partner token ( given by didox.uz ).
These environment variables are required for authentication when using the module. Be sure to keep them secure and do not expose them in your code.
Usage
const { Account } = require('didox');
async function getAccountInfo ( ) {
const accountInfo = await Account.getInfo();
// Here is your code...
}
// Here is your code...
Documentation
For detailed usage instructions and API documentation, please refer to the documentation.
Releases
v0.0.5
- Updated Documents controller
- Create document now can get AuthData - Login and Password
v0.0.2
- Updated Documents controller
- Get documents count
- Get document information by ID
- Get document privileges ( Льготы ) by ID
- Create document