@visa-cat/node-proxy6
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Proxy6 API

This is a simple Promise-based module to work with Proxy6 API that supports basic filters and extended errors;

Usage

Available methods:

  • getPrice
  • getCount
  • getCountry
  • getProxy
  • setType
  • setDescr
  • buy
  • prolong
  • deleteProxy
  • check
  • getUserInfo

Example

const P6 = require('node-proxy6');
let pp = new PP('aaaaaaaaaa-bbbbbbbbbb-cccccccccc');

//Get price for 100 IPv4 proxy for 30 days
p6.getPrice(100,30,4)
.then(results=>{
    ...
})

//Get user balance. This data is updated after each request you made;
p6.getUserInfo()
.then(user=>{
	//{ userId: '53458', balance: '98.32', currency: 'RUB' }
})

Readme

Keywords

Package Sidebar

Install

npm i @visa-cat/node-proxy6

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

33.3 kB

Total Files

7

Last publish

Collaborators

  • majorlettuce