New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@3cx/api

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3cx/api

3CX Phone System API

latest
Source
npmnpm
Version
0.0.36
Version published
Maintainers
1
Created
Source

3CX Phone System API

This set of API provides an interface to 3CX Phone System. Only a limited amount of items is available but feel free to contact me for extending the list.

Available:

  • Reports
  • System status
  • Current user information
  • Extension, Group, Fax, Phonebook contents view

Getting started

Installation:

npm install @3cx/api --save

Usage

This is a sample on how to get system status information. Please supply your FQDN:port and access credentials.

import {createClient, ConsoleClient} from '@3cx/api';

async function main(){
    const http = await createClient('http://secure.3cx.my:5000', {Username: 'Admin', Password: '############'});
    const api = new ConsoleClient(http);

    console.log(await api.getSystemStatus());
}

main();

Samples

For samples please refer to https://github.com/sherlock1982/3cx-api-samples

FAQs

Package last updated on 31 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts