Skip to content

ZolanPro/node-marzban-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-marzban-api-client

NodeJS async client for accessing MarzbanAPI


Installation

Using npm:

npm install node-marzban-api-client

Usage

const client = new Marzban('http://127.0.0.1:8000/');
client.auth('login', 'password');

const user = client.user.get('username');
console.log(user);

Documentation

Options

  • errorHandler - Function to handle errors
  • reAuth - Boolean to enable auto re-authentication
  • reAuthAttempts - Number of re-authentication attempts

License

Distributed under the MIT License. See LICENSE for more information.

About

NodeJS async client for accessing MarzbanAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published