Skip to content
Tiny Library for get random proxy (free).
Ruby
Branch: master
Clone or download
Latest commit eb66442 Jun 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Update RandomProxy.rb Jun 26, 2018
Example-Program.rb Create Example-Program.rb Jun 26, 2018
Example.rb Create Example.rb Jun 26, 2018
LICENSE Initial commit Jun 26, 2018
README.md Update README.md Jun 28, 2018
RandomProxy.gemspec Update RandomProxy.gemspec Jun 26, 2018

README.md

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.

You can’t perform that action at this time.