Python proxyport2 package
pypi.org/project/proxyport2 - page on PyPi.org
github.com/proxyport/py-proxyport2 - source code on github
github.com/proxyport/py-proxyport2 - source code on github
Prerequisites
Installation
$ pip install proxyport2
Getting Started
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', ...]