https://github.com/david-lor/python-pubproxy-api
A Python wrapper for the pubproxy.com public proxy API
https://github.com/david-lor/python-pubproxy-api
proxies proxy proxy-api pubproxy python python-pubproxy-api python-wrapper
Last synced: 3 months ago
JSON representation
A Python wrapper for the pubproxy.com public proxy API
- Host: GitHub
- URL: https://github.com/david-lor/python-pubproxy-api
- Owner: David-Lor
- Created: 2018-04-23T07:49:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T14:30:25.000Z (over 6 years ago)
- Last Synced: 2025-02-03T23:07:35.939Z (5 months ago)
- Topics: proxies, proxy, proxy-api, pubproxy, python, python-pubproxy-api, python-wrapper
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-PubProxy-API
A Python wrapper for the pubproxy.com public proxy API
## Limitations
When not using an API Key, pubproxy.com has a limit of 100 requests per day. Each execution of get_proxies is one request. Each request can return up to 20 proxies.
## Examples
```python
from PubProxyAPI import get_proxies#Get all proxies
proxies = get_proxies()#Get proxies from Spain and France
proxies = get_proxies(country=["ES","FR"])#Get proxies from everywhere EXCEPT United States
proxies = get_proxies(no_country="US")#Get up to 5 Socks5 proxies from US, on port 80
proxies = get_proxies(country="US", port=80, protocol="socks5", limit=5)#Get proxies that were last checked less than 5 minutes ago, that support GET and POST requests
proxies = get_proxies(last_check=5, get=True, post=True)#Get up to 10 anonymous proxies from everywhere except France and Spain, that support GET, POST and Cookies, that work on Google
proxies = get_proxies(limit=10, no_country=("FR","ES"), get=1, post=1, cookies=1, google=1)
```