Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (25 sloc) 851 Bytes

Whoaz Build Status

Whoaz is a ruby gem that provides a nice way to interact with Whois.Az

Installation

Command line:

gem install whoaz

Bundler:

gem 'whoaz', '~> 2.0.0'

Usage

whoaz = Whoaz.whois('google.az')
# => #<Whoaz::Whois:0x00000101149158 @organization="Google Inc.", @name="Admin", @address="94043, Mountain View, 1600 Amphitheatre Parkway", @phone="+16503300100", @fax="+16506188571", @email="dns-admin@google.com", @nameservers=["ns1.google.com", "ns2.google.com"]>

whoaz.registered?
# => true

CLI

whoaz google.az

For more information see: https://narkoz.github.io/whoaz

Copyright

Released under the BSD 2-clause license. Copyright (c) 2012 Nihad Abbasov