Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BaseMax/RandomProxyRuby

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomProxyRuby

Tiny and Powerful Library for get random proxy (free).

RandomProxy-1.0.0.gem File Size RandomProxy.rb Validation Code

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 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.

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.