Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.2 KB

README.textile

File metadata and controls

45 lines (28 loc) · 1.2 KB

GoDaddy Reseller API 0.0.1

Connect with your app to the GoDaddy Reseller API to automatically buy and sell domains and such!

Usage

  godaddy = GoDaddyReseller::API.new('username', 'password') # usually in an initializer
  godaddy.authenticate # tests your login credentials
  godaddy.run_certification # runs the cerfication script, required to open a production reseller account

Installation

To enable the library your Rails 2.1 (or greater) project, use the gem configuration method in “config/environment.rb

Rails::Initializer.run do |config|
  config.gem 'uuid' # UUID required by this gem, for now 
  config.gem 'thrivesmart-godaddy_reseller_api', :lib => 'godaddy_reseller_api', :source => 'http://gems.github.com'
end

The :lib is important, because rails gets confused when the name of the gem is different from the library.

And of course, run

  rake gems:install

To get them installed on your system.

Optionally, to unpack it into your application, just run:

  rake gems:unpack GEM=thrivesmart-godaddy_reseller_api

Copyright & License

Copyright © 2009 ThriveSmart, LLC, released under the MIT license