ProxyProviders Models
- class proxyproviders.models.proxy.Proxy(id: str, username: str, password: str, proxy_address: str, port: int, country_code: str | None = None, city_name: str | None = None, created_at: datetime | None = None, protocols: List[str] | None = None)[source]
Bases:
object
Our shared data model for a proxy object across all providers.
- id: str
A unique identifier for the proxy
- username: str
The username required for authenticating with the proxy
- password: str
The password required for authenticating with the proxy
- proxy_address: str
The IP address or domain name of the proxy
- port: int
The port number through which the proxy connection is established
- country_code: str | None = None
The country code where the proxy is located, e.g., ‘US’, ‘FR’. Optional
- city_name: str | None = None
The city name where the proxy is located, e.g., ‘New York’, ‘Paris’. Optional
- created_at: datetime | None = None
The timestamp when the proxy was created. Optional
- protocols: List[str] | None = None
A list of connection protocols supported by the proxy, e.g., [‘http’, ‘https’]