proxyport2
Python package provides interfaces to the Proxy Port API.
To use this package you will need a free API key. Get your API key here. Detailed instructions here.
Install via pip:
$ pip install proxyport2
Before you get your first proxy, you need to assign an API key. This can be done either through an environment variable
$ export PROXY_PORT_API_KEY=<API_KEY>
or directly in the code.
from proxyport2 import set_api_key, get_proxy
set_api_key('<API_KEY>') # here
print(get_proxy())
'139.180.281.313:3128'
Package can be used as module:
$ python -m proxyport2
['181.119.301.272:3128', ...]