NodeJS async client for accessing MarzbanAPI
Using npm:
npm install node-marzban-api-client
const client = new Marzban('http://127.0.0.1:8000/');
client.auth('login', 'password');
const user = client.user.get('username');
console.log(user);
errorHandler
- Function to handle errorsreAuth
- Boolean to enable auto re-authenticationreAuthAttempts
- Number of re-authentication attempts
Distributed under the MIT License. See LICENSE
for more information.