Archives de la Catégorie : API

Mar 04

[Gandi][API] Exemple en Java

[Gandi][API] Exemple en Java https://github.com/Nekrofage/Gandi-API-Java

Déc 14

[Gandi][API] Create a domain name with account handle in Python

[Gandi][API] Create a domain name with account handle in Python. #!/usr/bin/python3 import pprint import xmlrpc.client import sys import string import random pp = pprint.PrettyPrinter(indent = 4) api = xmlrpc.client.ServerProxy('https://rpc.ote.gandi.net/xmlrpc/') # INSERT YOUR OWN API KEY apikey = '<APIKEY>l' def generate_domainname(size = 10): domainname = '' . join(random.SystemRandom().choice(string.ascii_lowercase + string.digits) for _ in range(size)) return 'api' …

Continuer à lire »