{ "info": { "author": "Nicolai Buchwitz", "author_email": "nb@tipi-net.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "# nc_dnsapi\nA simple API wrapper for the netcup DNS API\n\n```python\nfrom nc_dnsapi import Client, DNSRecord\n\ncustomer = 123456\napi_key = \"your-personal-api-key\"\napi_password = \"your-private-api-password\"\n\nwith Client(customer, api_key, api_password) as api:\n # fetch records\n records = api.dns_records(\"example.com\")\n for record in records:\n\tprint(record)\n\n # fetch zone details\n zone = api.dns_zone(\"example.com\")\n print(zone)\n\n # update single record\n api.update_dns_record(\"example.com\", DNSRecord(\"my-hostname\", \"A\", \"127.0.0.2\", id=108125))\n\n # update list of records\n api.update_dns_record(\"example.com\", [ DNSRecord(\"my-hostname\", \"A\", \"127.0.0.2\", id=108125), \n DNSRecord(\"my-hostname2\", \"A\", \"127.0.0.2\", id=108126)])\n\n # delete record\n api.delete_dns_record(\"example.com\", DNSRecord(\"my-hostname\", \"A\", \"127.0.0.2\", id=108125))\n\n # add record\n api.add_dns_record(\"example.com\", DNSRecord(\"another-host\", \"AAAA\", \"::1\"))\n\n # update zone\n zone = api.dns_zone(\"example.com\")\n zone.refresh = 3600\n api.update_dns_zone(\"example.com\", zone)\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nbuchwitz/nc_dnsapi", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nc-dnsapi", "package_url": "https://pypi.org/project/nc-dnsapi/", "platform": "", "project_url": "https://pypi.org/project/nc-dnsapi/", "project_urls": { "Homepage": "https://github.com/nbuchwitz/nc_dnsapi" }, "release_url": "https://pypi.org/project/nc-dnsapi/0.1.5/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "API wrapper for the netcup DNS api", "version": "0.1.5" }, "last_serial": 5150797, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "d58967642f221159706d3b430d637739", "sha256": "d06ac9e4d5914dc284810dd70a24e1a9f4688504b085af441b2be011d3cf056d" }, "downloads": -1, "filename": "nc_dnsapi-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d58967642f221159706d3b430d637739", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3061, "upload_time": "2018-08-10T13:36:36", "url": "https://files.pythonhosted.org/packages/2a/5f/d0ffd183e95cc6f1f6aa7c695b4342d77ab614ada5d766acb3f71bad81bf/nc_dnsapi-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bde5310e08a3d4d441e27b978ea5baef", "sha256": "a24e2bd6929db78656e044b4077d85164e409416d5fc1480b8142041c42b4fb4" }, "downloads": -1, "filename": "nc_dnsapi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "bde5310e08a3d4d441e27b978ea5baef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2848, "upload_time": "2018-08-10T13:36:37", "url": "https://files.pythonhosted.org/packages/78/89/07f659e056c779ffe0c37cad0f7a646a7e5d249cd355bc5743ac705676b6/nc_dnsapi-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "bdf9a9a911b822b5ed8ea1511d34d453", "sha256": "08d12b58edf7d374fc3cff112c7f2d50585801014abdbef2f7a1cccc74aa83c0" }, "downloads": -1, "filename": "nc_dnsapi-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "bdf9a9a911b822b5ed8ea1511d34d453", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3256, "upload_time": "2018-08-13T11:48:33", "url": "https://files.pythonhosted.org/packages/e5/93/c7dae060acca451575ac3d8b9eb2c6833f35492323f20990464966cf6655/nc_dnsapi-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "604b72cb176ad25a076d53ea9bc88796", "sha256": "25c1dcf2d30e10b8b8a70ddc6431d4647439ce021158c7133bcb3fdfbfc8647f" }, "downloads": -1, "filename": "nc_dnsapi-0.1.3.tar.gz", "has_sig": false, "md5_digest": "604b72cb176ad25a076d53ea9bc88796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3037, "upload_time": "2018-08-13T11:48:34", "url": "https://files.pythonhosted.org/packages/80/06/a6f16aa5c01ecd8dc74b14212fcb13272613530582964345de491a84f665/nc_dnsapi-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "2de9613ab4bde4174e161c9e12c8fee6", "sha256": "bc89469d81ec337b98c1a1fa6abb0527c71ddc34cf770216035068dc5c6d58f1" }, "downloads": -1, "filename": "nc_dnsapi-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "2de9613ab4bde4174e161c9e12c8fee6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3293, "upload_time": "2018-08-13T15:29:33", "url": "https://files.pythonhosted.org/packages/65/44/3498d308c2032ca9401cea34f90a440b138aef4d0f844f684337e97dae3f/nc_dnsapi-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "795f8986200689276f5dff40e8d5b230", "sha256": "383c9af8f7efc12c78e85daaa1828d14095913fadee7bdb280390c1744f2ce62" }, "downloads": -1, "filename": "nc_dnsapi-0.1.4.tar.gz", "has_sig": false, "md5_digest": "795f8986200689276f5dff40e8d5b230", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3072, "upload_time": "2018-08-13T15:29:34", "url": "https://files.pythonhosted.org/packages/d3/3f/f932455ed1ff7470de1a8ccfcef0399279c2acfb56541103ca55c2abef8a/nc_dnsapi-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "d8782e28e60e398e72bee62dda17b38e", "sha256": "34e52cd6e7a3f634bdbc0159418ee9da2f57676082027834b1a799196540083e" }, "downloads": -1, "filename": "nc_dnsapi-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "d8782e28e60e398e72bee62dda17b38e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3417, "upload_time": "2019-04-16T16:00:18", "url": "https://files.pythonhosted.org/packages/22/f9/938affd8f7006af68d51c067f69b42fef0abb0a4aa3066f2f06934a2e20b/nc_dnsapi-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42ab093ac000778d24db07a27b73daf7", "sha256": "d5fbf3af77b46406d20cea2f84bcf91872424ba97e2bcf5f6d81e8696c4ef5c0" }, "downloads": -1, "filename": "nc_dnsapi-0.1.5.tar.gz", "has_sig": false, "md5_digest": "42ab093ac000778d24db07a27b73daf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3182, "upload_time": "2019-04-16T16:00:19", "url": "https://files.pythonhosted.org/packages/c9/3b/36691546246b0b4ef5cf53aadbc5be5d51a9321d063205be3ee4c2ea28de/nc_dnsapi-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8782e28e60e398e72bee62dda17b38e", "sha256": "34e52cd6e7a3f634bdbc0159418ee9da2f57676082027834b1a799196540083e" }, "downloads": -1, "filename": "nc_dnsapi-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "d8782e28e60e398e72bee62dda17b38e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3417, "upload_time": "2019-04-16T16:00:18", "url": "https://files.pythonhosted.org/packages/22/f9/938affd8f7006af68d51c067f69b42fef0abb0a4aa3066f2f06934a2e20b/nc_dnsapi-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42ab093ac000778d24db07a27b73daf7", "sha256": "d5fbf3af77b46406d20cea2f84bcf91872424ba97e2bcf5f6d81e8696c4ef5c0" }, "downloads": -1, "filename": "nc_dnsapi-0.1.5.tar.gz", "has_sig": false, "md5_digest": "42ab093ac000778d24db07a27b73daf7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3182, "upload_time": "2019-04-16T16:00:19", "url": "https://files.pythonhosted.org/packages/c9/3b/36691546246b0b4ef5cf53aadbc5be5d51a9321d063205be3ee4c2ea28de/nc_dnsapi-0.1.5.tar.gz" } ] }