Allows you to easily work with a huge number of high-quality, residential proxies using proxy.shop
- These proxies can be very useful when you require clean, residential ips for your application.
- perfect fit for automation, bots, crawlers, credential stuffers (wait, what?)
Refer to the API Docs for full API documentation. Some of the abstractions they use, like sub-accounts, I find to be clunky and hard to manage out of the box. This package provides some useful functions to work with your proxies in a more intuitive fashion.
npm install --save proxyshop
const proxyshop = ;const client =key: '...' // Your API Key goes here;// get a new proxy from TXconst proxy = await client;// provide http proxy URI to your botconst bot = proxy ;await bot;await bot;// add a new sub-account (which represents a distinct proxy handle)const sid = await client;// you can persist the sid somewhere if you wantawait redis;// then later, you can update/refresh the proxyawait client;
- Add tests
Please see API documentation for full usage details: API.