Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Port SDK

proxyport2 Python package provides interfaces to the Proxy Port API.

Prerequisites

To use this package you will need a free API key. Get your API key here. Detailed instructions here.

Installation

Install via pip:

$ 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', ...]