{ "info": { "author": "Cole Tuininga", "author_email": "ctuininga@dyn.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: Name Service (DNS)", "Topic :: Software Development :: Libraries" ], "description": "This is a simple Python wrapper for interacting with the Dynect Managed DNS\nREST API. \n\nAs it makes use of a JSON interface, one must either have the simplejson\nmodule installed, or have Python 2.6/2.7 which have a JSON library that comes\nwith the language.\n\nUse is fairly simple:\n\nimport sys\nfrom dynect.DynectDNS import DynectRest\n\nrest_iface = DynectRest()\n\n# Log in\narguments = {\n\t'customer_name': 'my_cust',\n\t'user_name': 'my_user', \n\t'password': 'my_pass',\n}\nresponse = rest_iface.execute('/Session/', 'POST', arguments)\n\nif response['status'] != 'success':\n\tsys.exit(\"Incorrect credentials\")\n\n# Perform action\nresponse = rest_iface.execute('/Zone/', 'GET')\nzone_resources = response['data']\n\n# Log out, to be polite\nrest_iface.execute('/Session/', 'DELETE')\n\nDocumentation on the REST resources can be found at \nhttps://manage.dynect.net/help/docs/api2/rest/resources/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dyninc/Dynect-API-Python-Library", "keywords": "dynect,api,dns", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "DynectDNS", "package_url": "https://pypi.org/project/DynectDNS/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/DynectDNS/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dyninc/Dynect-API-Python-Library" }, "release_url": "https://pypi.org/project/DynectDNS/0.3/", "requires_dist": null, "requires_python": null, "summary": "Dynect REST API wrapper", "version": "0.3" }, "last_serial": 784173, "releases": { "0.2": [], "0.3": [ { "comment_text": "", "digests": { "md5": "3cf5b6278eb766fe15c539d9e8d90114", "sha256": "ae2e752eaf502bec70eadc465ceca11b8143950ea3adbdc8e14c49deee9afca5" }, "downloads": -1, "filename": "DynectDNS-0.3.tar.gz", "has_sig": false, "md5_digest": "3cf5b6278eb766fe15c539d9e8d90114", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3748, "upload_time": "2012-10-05T18:23:56", "url": "https://files.pythonhosted.org/packages/69/d5/9b90785501a190a3abbfb8d0e17ce7990cd0e791ae14c09c92425de02f2d/DynectDNS-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cf5b6278eb766fe15c539d9e8d90114", "sha256": "ae2e752eaf502bec70eadc465ceca11b8143950ea3adbdc8e14c49deee9afca5" }, "downloads": -1, "filename": "DynectDNS-0.3.tar.gz", "has_sig": false, "md5_digest": "3cf5b6278eb766fe15c539d9e8d90114", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3748, "upload_time": "2012-10-05T18:23:56", "url": "https://files.pythonhosted.org/packages/69/d5/9b90785501a190a3abbfb8d0e17ce7990cd0e791ae14c09c92425de02f2d/DynectDNS-0.3.tar.gz" } ] }