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 details)

Uploaded Source

File details

Details for the file BuyProxiesAPI-0.22.tar.gz.

File metadata

  • Download URL: BuyProxiesAPI-0.22.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

File hashes

Hashes for BuyProxiesAPI-0.22.tar.gz
Algorithm Hash digest
SHA256 ed9d3e9e8832e9910a003ba406e26a188ef1b3cb3b055f616a1077cc36d65035
MD5 2998c661cca65a40d769b31ea8e47ce6
BLAKE2b-256 c0318b0db2d0b83108695d05a7e6cf68ca67e3e71dfc7c6ba5ee6d5a9948dedd

See more details on using hashes here.

Supported by

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