multi-residential-proxy

1.0.3 • Public • Published

multi-residential-proxy

Residential Proxy Api

  • Easily switch residential proxies
  • Residential proxy access with sticky session

Installation

$ npm i multi-residential-proxy

Example Usage

const ProxySwitcher = new ResidentialProxy({ username: "MY_USERNAME", password: "MY_PASSWORD", provider: "geosurf", countries: ["ca"], session_time: 10 })

// ProxySwitcher.getProxyUrl(session_id, country_code, state, city)
var proxyUrl = ProxySwitcher.getProxyUrl("123456789", "US", "NY");

Supported Providers

- geosurf
- packetstream
- oxylab
- ipgrow

Parameters

- username (required)
- password (required)
- provider (required)
- session_time (optional)
- countries (optional)  Random will be taken when location not specified in getProxyUrl()

Package Sidebar

Install

npm i multi-residential-proxy

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

57 kB

Total Files

6

Last publish

Collaborators

  • thekirtan