multi-residential-proxy
v1.0.3
Published
Multiple residential proxy providers wrapper, Residential proxy access with sticky session
Downloads
29
Maintainers
Readme
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()