https://github.com/basemax/randomproxyruby
Tiny Library for get random proxy (free).
https://github.com/basemax/randomproxyruby
api api-server freeproxy gem getproxy module modules plugin plugins proxy proxy-list proxy-server ruby
Last synced: 6 months ago
JSON representation
Tiny Library for get random proxy (free).
- Host: GitHub
- URL: https://github.com/basemax/randomproxyruby
- Owner: BaseMax
- License: gpl-3.0
- Created: 2018-06-26T06:36:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-28T09:32:02.000Z (over 7 years ago)
- Last Synced: 2025-08-19T06:01:50.418Z (6 months ago)
- Topics: api, api-server, freeproxy, gem, getproxy, module, modules, plugin, plugins, proxy, proxy-list, proxy-server, ruby
- Language: Ruby
- Homepage:
- Size: 25.4 KB
- Stars: 17
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RandomProxyRuby
Tiny and Powerful Library for get random proxy (free).
 
## Features
- Compact
- Free API (2 requests per second)
- Based on `httparty` , `json`
If the API address has changed , This repository will be updated.
use the new version.
## Installation
- $ `gem install RandomProxy`
## Installation depends
- $ `gem install json`
- $ `gem install httparty`
## Samples
To view the full details, run the [Example.rb](https://github.com/BaseMax/RandomProxyRuby/blob/master/Example.rb) file.
#### `RandomProxy.get()`
```
require 'RandomProxy'
proxy=RandomProxy.get()
if proxy["error"] && proxy["error"] == false then
puts proxy["ip"]
else
puts "Error!"
end
```
# License
RandomProxy is licensed under the [GNU General Public License](https://github.com/BaseMax/RandomProxyRuby/blob/master/LICENSE).