tags:

views:

349

answers:

3

Does anybody know of a domain registrar with good REST API?

A: 

Hi,

Slicehost (while not a pure registrar but a complete hosting solution) has a REST API which includes DNS configuration. See www.slicehost.com/articles/2008/3/26/announcing-the-slicehost-api for further details. .

Chris

Chris McCauley
Just out of curiosity, can you tell me what you see as RESTful about this API. To me it looks just like distributed objects. I see no reference to media types, no use of hypermedia. It appears to be using http but I see Save, Destroy, Find as the verbs. IT seems to break every REST constraint there is.
Darrel Miller
I think you need to separate out the REST API of the service from the expression of that API in a particular language. There's nothing wrong with creating a method called Save which an application programmer uses to create or update resources. You just need to make sure that it is smart enough to know which verb to use and how to respond appropriately to HTTP status codes.
Chris McCauley
Do you not think this is falling into the same trap the distributed objects architecture did when they made client object models location ignorant? The idea of a uniform interface is to make it easy for client developers to know how to interact with a REST interface. Obscuring that interface with another set of verbs that may or may not map directly seems unnecessarily confusing. I don't think this has anything to do with language. I'm quite sure Ruby is capable of creating methods on objects called Get(), Put(), Post() and Delete().
Darrel Miller
Chris, thank you for that, but there are several DNS service providers with APIs. I am looking specifically for an domain name registrar.
Christopher Mahan
A: 

Using a search engine yields some results but I have no experience with them and they seem quite far from real REST:

It seems that XML-RPC or even SOAP are more popular. If you insist in REST, you will be limited in your choices. You want a registrar for a domain in which TLD, by the way?

bortzmeyer
.com . I can do with xmlrpc, but ultimately prefer rest.
Christopher Mahan
A: 

Please have a look to our API that was inspired by REST, however we DO NOT pretend to be 100% RESTful:

http://www.internetbs.net/ResellerRegistrarDomainNameAPI/

PS: note we return results in TEXT, XML and JSON simply setting a parameter value in each of your request.

Regards,
Marco Rinaudo - CEO
Internet.bs Corp.
www.internet.bs
www.internetbs.net