1.0.3 • Published 3 years ago

multi-residential-proxy v1.0.3

Weekly downloads
40
License
ISC
Repository
github
Last release
3 years ago

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()