Socket
Book a DemoInstallSign in
Socket

luminati

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luminati

0.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

Luminati

Ruby-wrapper for communicating with the Luminati.io-network.

How to use the wrapper

Add it to your Gemfile:

gem 'luminati'

Basic example:

luminati        =   Luminati::Client.new('username', 'password', zone: 'gen', port: 22225)
connection      =   luminati.get_connection(country: nil, dns_resolution: nil, session: nil)

session_id      =   connection[:session_id]
proxy_user      =   connection[:username]
proxy_password  =   connection[:password]
proxy_ip        =   connection[:ip_address]
proxy_port      =   connection[:port]

Use a custom zone, only use american ips and resolve dns remotely (on the client nodes):

luminati        =   Luminati::Client.new('username', 'password', zone: 'customzone', port: 22225)
connection      =   luminati.get_connection(country: 'us', dns_resolution: :remote, session: nil)

Specify a session to re-use a previously used ip-address:

luminati        =   Luminati::Client.new('username', 'password', zone: 'gen', port: 22225)
connection      =   luminati.get_connection(country: 'us', dns_resolution: :remote, session: '4b21543118c63c5a98397c240bee05ae18d0509d')

Test coverage

Initial test coverage has since 2015-03-20 been added.

More tests will be added continously.

FAQs

Package last updated on 20 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.