Domai.nr API wrapper for Go(lang).
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
domainr.go
domainr_test.go

README.md

domainr-go GoDoc

Domai.nr API wrapper for Go(lang).

// Get the url to register a domain
domainr.Register("myfancydomain.com", "")
// Get the url of a specific registrar to register a domain
domainr.Register("myfancydomain.com", "gandi.net")
// Get information about a domain
domainr.Json(domainr.METHOD_INFO, "github.io", "")
// Get information about the domains matching your query
domainr.Json(domainr.METHOD_SEARCH, "myfancydomain", "")
// The optional third parameter at domainr.Json is a callback as defined in
// the API documentation https://domai.nr/api/docs/json

Install

go get github.com/mvader/domainr-go