Skip to content

proxyport/py-requests-proxyport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Port Python requests wrapper

About Proxy Port

Prerequisites

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

Installation

Install via pip:

$ pip install requests-proxyport

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 requests_proxyport import Session

session = Session(proxyport_api_key='<API_KEY>') # here
r = session.get('https://example.com/')
print(r.text)