| Dynect-api-python-bibliotheek DyNect Rest API Wrapper |
Download nu |
Dynect-api-python-bibliotheek Rangschikking & Samenvatting
- Vergunning:
- Other/Proprietary Li...
- Naam uitgever:
- Cole Tuininga
- Uitgever website:
- https://github.com/dyninc/
Dynect-api-python-bibliotheek Tags
Dynect-api-python-bibliotheek Beschrijving
Dynect-Api-Python-Library is een eenvoudige Python Wrapper voor het interacteren met de DyNect Managed DNS Rest Api.As Het maakt gebruik van een JSON-interface, men moet de SimpleJSON-module geïnstalleerd hebben of Python 2,6 / 2.7 hebben die een JSON heeft Bibliotheek die bij de taal wordt geleverd. Python 3.x is momenteel niet specifiek ondersteund.Us is vrij eenvoudig: import sysfrom dynect.dynectdns import dynectrestrest_iface = dynectrest () # log inarguments = {'customer_name': 'my_cust', 'user_name': 'my_user', 'wachtwoord' : 'My_Pass',} Response = Rest_iface.execute ('/ sessie /', 'post', argumenten) als reactie ! = 'succes': sys.exit ("onjuiste inloggegevens") # uitvoeren ActionResponse = Rest_iface.execute ('/ zone /', 'Get') Zone_resources = Response # uitloggen, om politerest_iface.execute ('/ sessie /', 'Delete' te zijn) Documentatie op de restbronnen is te vinden ATHTPS: //Manage.dynect.net/help/docs/api2/rest/resources/Product's startpagina
Dynect-api-python-bibliotheek Gerelateerde software