Skip to main content

Proxy Port SDK

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proxyport2-1.0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

proxyport2-1.0.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page