Metadata-Version: 1.1
Name: DynectDNS
Version: 0.3
Summary: Dynect REST API wrapper
Home-page: https://github.com/dyninc/Dynect-API-Python-Library
Author: Cole Tuininga
Author-email: ctuininga@dyn.com
License: UNKNOWN
Description: This is a simple Python wrapper for interacting with the Dynect Managed DNS
        REST API.  
        
        As it makes use of a JSON interface, one must either have the simplejson
        module installed, or have Python 2.6/2.7 which have a JSON library that comes
        with the language.
        
        Use is fairly simple:
        
        import sys
        from dynect.DynectDNS import DynectRest
        
        rest_iface = DynectRest()
        
        # Log in
        arguments = {
        	'customer_name': 'my_cust',
        	'user_name': 'my_user',  
        	'password': 'my_pass',
        }
        response = rest_iface.execute('/Session/', 'POST', arguments)
        
        if response['status'] != 'success':
        	sys.exit("Incorrect credentials")
        
        # Perform action
        response = rest_iface.execute('/Zone/', 'GET')
        zone_resources = response['data']
        
        # Log out, to be polite
        rest_iface.execute('/Session/', 'DELETE')
        
        Documentation on the REST resources can be found at 
        https://manage.dynect.net/help/docs/api2/rest/resources/
        
Keywords: dynect,api,dns
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: Name Service (DNS)
Classifier: Topic :: Software Development :: Libraries
