Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (24 sloc) 640 Bytes
DOCUMENTATION
=============
See https://rpc.ote.gandi.net/doc/2.0/
API endpoint:
* Test: https://rpc.ote.gandi.net/xmlrpc/
* Production: https://rpc.gandi.net/xmlrpc/
Feel free to fork it and fix it you need to.
USAGE
=====
require 'gandi'
# test env
api = Gandi::Session.new("24-character API key", "https://rpc.ote.gandi.net/xmlrpc/")
api.domain.list
api.domain.info('mydomain.com')
api.hosting.list
api.catalog.list(product: {type: 'domains'})
...
# production env
api = Gandi::Session.new("24-character API key")
api.domain.list
api.domain.info('mydomain.com')
api.hosting.list
api.catalog.list(product: {type: 'domains'})
...
Jump to Line
Something went wrong with that request. Please try again.