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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page