@fahdlaabi12/whmcs-node
TypeScript icon, indicating that this package has built-in type declarations

0.0.51 • Public • Published

whmcs-node

A Typescript/Javascript API wrapper for WHMCS.

Example use

npm i whmcs-node

// typescript
import 'WhmcsApi' from 'whmcs-node';

// javascript
const WhmcsApi = require('whmcs-node').default

const whmcs = new WhmcsApi({
  identifier: "",
  secret: "",
  apiUrl: "https://example.com/billing/includes/api.php"
});

whmcs.tickets.getTicketCounts({})
  .then((data) => console.log(data))
  .catch((err) => console.error(err))

Readme

Keywords

none

Package Sidebar

Install

npm i @fahdlaabi12/whmcs-node

Weekly Downloads

52

Version

0.0.51

License

ISC

Unpacked Size

400 kB

Total Files

723

Last publish

Collaborators

  • fahdlaabi12