Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

BuyProxies.org simple API Wrapper

Project description

This is a wrapper package for Buyproxies.org API. You can retrive your account's proxies in following formats:

  • String
  • Python List
  • Json

Installation

$ pip install BuyProxiesAPI

Usage

from buyproxies_api import BuyProxiesAPI

# buyproxies.org API KEY
API_KEY = '021b5584b0c5c4735a9a157169d8c030'

# Proxy Service ID
service_id = 120810

# Initialize the API
proxy_api = BuyProxiesAPI(API_KEY)

# Retrieve proxies as string
proxies_str = proxy_api.get_proxies(service_id, return_as='str')

# Retrieve proxies as Python list
proxies_list = proxy_api.get_proxies(service_id, return_as='list')

# Retrieve proxies as JSON
proxies_json = proxy_api.get_proxies(service_id, return_as='json')

Project details


Download files

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

Files for BuyProxiesAPI, version 0.22
Filename, size File type Python version Upload date Hashes
Filename, size BuyProxiesAPI-0.22.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page