Skip to main content

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.

Source Distribution

BuyProxiesAPI-0.22.tar.gz (2.9 kB view hashes)

Uploaded Source

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