sim4me
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

sim4me

npm version install size Actions Status

This library gets the amount of traffic from sim4.me.

Install

# npm 
$ npm install sim4me
 
# or yarn 
$ yarn add sim4me

Usage

const { traffic } = require('sim4me');
 
(async () => {
  try {
    const result = await traffic({
      phone: '09012345678',
    });
    console.log(result);
  } catch (error) {
    console.log(error);
  }
})();

API

traffic(options)

options

Type: object

  • options.phone: string

Target phone number.

return

Type: object

  • object.total: number

Total traffic.

  • object.traffic: number[]

Values of daily traffic.

  • object.label: number[]

Dates.

Readme

Keywords

none

Package Sidebar

Install

npm i sim4me

Weekly Downloads

18

Version

0.0.2

License

MIT

Unpacked Size

7.67 kB

Total Files

8

Last publish

Collaborators

  • shooontan