Skip to content

A partial ruby api to the InternetX AutoDNS XML http interface.

License

Notifications You must be signed in to change notification settings

wflow/autodns_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoDNS api ruby gem

This gem implements a partial api to the InternetX AutoDNS XML http interface.

Installation

gem install autodns_api

Usage Examples

require 'autodns_api'

client = AutodnsAPI::Client.new(
  url: 'https://gateway.autodns.com/', user: 'user', password: 'password', context: '1'
)
transport = client.transport

# create a handle
response = AutodnsAPI::Contact.create_handle(t, type: 'PERSON', city: 'Trostberg', lname: 'Dent', pcode: '835301', address: 'Street 1')
if response.success?
  puts response.status_object
end

# query handle
response = AutodnsAPI::Contact.by_id(t, response.status_object['value'])
if response.success?
  puts response.all_attributes
end

# query domain
response = AutodnsAPI::Domain.by_name(t, 'webflow.de')
if response.success?
  puts response.all_attributes
end

Further Documentation

Official AutoDNS documentation: https://login.autodns.com/files/downloads/1/adns_schnittstellendokumentation16.0.pdf

About

A partial ruby api to the InternetX AutoDNS XML http interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages