Code examples

Copy-paste proxy configuration for eight languages.

Every example targets the residential gateway with country targeting and a thirty-second timeout. Swap the host for another product and nothing else changes.

import requests

PROXY = "http://wp-acc4821-country-us:s3cr3t-pass@res.wproxy.io:8000"

session = requests.Session()
session.proxies = {"http": PROXY, "https": PROXY}

r = session.get("https://example.com", timeout=30)
print(r.status_code, len(r.content))

Keep credentials out of source

Every example inlines the password for readability. In anything you deploy, read it from the environment — and give each deployment its own sub-user so a leak can be revoked without a coordinated rotation.

Something inaccurate?Tell support