Posts Tagged ‘register’

Domain Name Registration API Plugin for Rails

Thursday, February 26th, 2009

If you’ve ever had an app where you want to allow users to purchase a domain name, you’ve probably felt the pain of trying to interface to a registrar.  Although some have APIs, my search found that most were hard to interface to or poorly documented.  Many even required signing up as a partner (and paying a big fee) before you could even get documenation.

After much searching and experimenting I decided to go with Register.com’s XML api for my app. They offered the best API, and the easiest signup path.

I bundled the main part of the interface into a rails plugin.  The plugin is stored on github: http://github.com/geoffevason/register-api/tree/master

To install the plugin do this:


script/plugin install git://github.com/geoffevason/register-api.git

The plugin is of little value unless you have spoken to register.com and have received their API documentation. You need to register as a partner (it’s free) and have the IP of your dev machine whitelisted for testing.

Most of the info on use is in the readme in the plugin. You can call any of the Register.com API methods by calling Register::API.


# A call to the API looks like this
# Register::Api::Call(params)

# Example to check if the domain name google.com is available
Register::Api::Check( :tld => 'com', :sld => 'google' )

The plugin also contains a few helper methods and classes. If all you want to do is let people search for an available domain, and purchase it, then everything you need is in these helpers. Some important logic remains in my controllers, but if you have any questions, let me know. geoff [a] evason.name

2
Tags: , , ,
Posted in tech |

Why Do GoDaddy and Other Domain Registrars Suck?

Wednesday, January 14th, 2009

I’m evaluating different domain name options for something I’m working on.  Typically, I register domains names with GoDaddy because they seem to be the cheapest.  Yesterday, I registered the domain wedding-website.ca as a test.  I wanted to compare writing instructions about how to buy a domain name vs. using the API vs. a reseller front-end.

My step by step instructions are now at step 13, and that’s before I get into any DNS alterations.

13 STEPS!?!?   What kind of e-commerce sales funnel is 13 steps?  I’m pretty sure I filled out my details 3 times and created a least 2 accounts. (I’m not sure – I’m still a little dizzy from the whole thing).  I do have about 5 long numbers now which I’m sure I’ll have to re-enter somewhere, at some point…

Many of the steps in the instructions I was tracking included things like ‘completely ignore everything on the page and just press the very tiny button at the bottom (the one hidden under the big button)’.  The 13 steps actually excludes some of the extra steps I had to take because it’s a .ca domain!!  Okay, so intructions through GoDaddy aren’t going to be part of my solution.  Register.com and Dotster.com have slightly cleaner processes (but not by much)

GoDaddy, Register, and some others offer resale program and APIs. The APIs are generally completely undocumented, and you get no indication of what is available (or even what technology is used) before they ask for the steep annual fee.  Register.com has the best API (it’s xml based) I’ve see, but so far it seems to be a big flat convoluted set of URLs.

Now, I’m sure most of these companies are making lots of money, I just wanted to rant about how annoying I find it all to be from my perspective as a consumer.

2
Tags: , ,
Posted in Uncategorized |