digi-api
v1.0.1
Published
トランザクションを行うための Digiflazz の非公式 API。
Readme
🚀 Features
- Checking Balance
- Get Price List
- Make a Transaction
- Checing Transaction Status
🚀 Requirements
🚀 Quick Setup
- Install
GitandNodeJS - Clone Repository
git clone https://github.com/andhkdwmln/digi-api - Move to directory
cd digi-api - Install required module
npm install - Build
npm run build - Compiled code inside
libfolder
OR
- Installation via NPM :
npm install digi-api
🚀 Usage
const { Topup } = require('digi-api');
const bot = new Topup('digiflazz-username', 'digiflazz-apikey');
(async () => {
const saldo = await bot.Saldo();
console.log(saldo);
})();