UNPKG

node-marzban-api-client

Version:
25 lines (19 loc) 571 B
# node-marzban-api-client NodeJS async client for accessing MarzbanAPI ------------ ## Installation Using npm: ```shell npm install node-marzban-api-client ``` ## Usage ```javascript const client = new Marzban('http://127.0.0.1:8000/'); client.auth('login', 'password'); const user = client.user.get('username'); console.log(user); ``` ## Documentation - [API Documentation](https://github.com/ZolanPro/node-marzban-api-client/docs/api.md "API Documentation") ## License Distributed under the MIT License. See `LICENSE` for more information.