Ruby wrapper for the Domainr API
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gemtest
.gitignore
.rspec
.rubocop.yml
.travis.yml
.yardopts
Gemfile
LICENSE.md
README.md
Rakefile
domainr.gemspec

README.md

domainr

Ruby wrapper for the Domainr API.

Installation

gem install domainr

Usage

Instantiate a new client:

client = Domainr::Client.new(mashape_key: 'abcdefghijklmnopqrstuvwxyz')

If you are using Domainr's high volume API endpoints, you can pass a client_id and endpoint instead:

client = Domainr::Client.new(client_id: '123456789', endpoint: 'https://api.domainr.com')

Once configured, you can use the Domainr::Client to retrieve information about a domain:

client.status('google.com')

You can also search Domainr based on a search term:

client.search('twitter')

Documentation

http://rdoc.info/gems/domainr

Contributing

Pull requests welcome: fork, make a topic branch, commit (squash when possible) with tests and I'll happily consider.

Copyright

Copyright (c) 2016 Steve Agalloco. See LICENSE for detail