TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'let_us_hide'
And then execute:
$ bundle
Or install it yourself as:
$ gem install let_us_hide
First, you need to set your API key. If you don't have one, you can sign up here, http://letushide.com/subscribe/.
LetUsHide::API.configure api_key: 'MY_API_KEY'
Then you can get a list of proxy servers:
LetUsHide::API.list
You can filter the list by passing an options hash:
options = {
num: 100, # number of results to return
as: %w[tp ap dp hap], # anonymity selector
ps: %w[http https socks4 socks5], # protocol selector
cs: %w[us ca] # country selector
}
LetUsHide::API.list(options)
For more information on these options, check out the parameters section on the official API site - http://letushide.com/api/
- Fork it ( https://github.com/[my-github-username]/let_us_hide/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request