Die Integration sollte niemals direkt in Ihrem Live-Betrieb erfolgen. Die OpusDNS Sandbox bietet Domain-Investoren, Entwicklern und Hosting-Anbietern die Freiheit, automatisierte Workflows zu erstellen und komplexe Abläufe ohne finanzielles Risiko oder technische Nebenwirkungen zu testen.
Das Beste daran? Es ist komplett kostenlos. Wir stellen die Infrastruktur, Sie liefern die Innovation.

1response = requests.post('https://sandbox.opusdns.com/v1/domains',
2 headers={
3 'Content-Type': 'application/json',
4 'X-API-Key': 'opk_YOUR_API_KEY'
5 },
6 json={
7 'name': 'example.com',
8 'contacts': {
9 'registrant': 'contact_YOUR_CONTACT_ID',
10 'admin': 'contact_YOUR_CONTACT_ID',
11 'tech': 'contact_YOUR_CONTACT_ID',
12 'billing': 'contact_YOUR_CONTACT_ID'
13 },
14 'renewal_mode': 'renew',
15 'period': {
16 'value': 1,
17 'unit': 'y'
18 },
19 'nameservers': [
20 {'hostname': 'ns1.opusdns.com'},
21 {'hostname': 'ns2.opusdns.net'}
22 ],
23 'create_zone': True
24 }
25)1response = requests.post('https://api.opusdns.com/v1/domains',
2 headers={
3 'Content-Type': 'application/json',
4 'X-API-Key': 'opk_YOUR_API_KEY'
5 },
6 json={
7 'name': 'example.com',
8 'contacts': {
9 'registrant': 'contact_YOUR_CONTACT_ID',
10 'admin': 'contact_YOUR_CONTACT_ID',
11 'tech': 'contact_YOUR_CONTACT_ID',
12 'billing': 'contact_YOUR_CONTACT_ID'
13 },
14 'renewal_mode': 'renew',
15 'period': {
16 'value': 1,
17 'unit': 'y'
18 },
19 'nameservers': [
20 {'hostname': 'ns1.opusdns.com'},
21 {'hostname': 'ns2.opusdns.net'}
22 ],
23 'create_zone': True
24 }
25)