node-proxy6

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 node-proxy6

Weekly Downloads

15

Version

1.0.6

License

ISC

Unpacked Size

42 kB

Total Files

16

Last publish

Collaborators

  • badvolt