{ "info": { "author": "Joakim Sorensen", "author_email": "joasoe@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# A module for updating Cloudflare DNS records.\n\n#### Notes\nThis has been tested with python 3.6 \nThis module require a Cloudflare username and API key. \nThis module uses these external libararies:\n- json\n- requests\n\n#### Install\n```bash\npip install pycfdns\n```\n\n#### Usage:\n```python\nfrom pycfdns import CloudflareUpdater\n\ncfupdate = CloudflareUpdater()\nemail = 'user@example.com'\nkey = 'fks343489734jkhfsfk387dfjksh78'\nzone = 'example.com'\nrecords = ['None']\n\n#Set headers:\nheaders = cfupdate.set_header(email,key)\n\n#Get zoneID:\nzoneID = cfupdate.get_zoneID(headers, zone)\n\n#Get records to update:\nupdateRecords = cfupdate.get_recordInfo(headers, zoneID, zone, records)\n\n#Update records:\nresult = cfupdate.update_records(headers, zoneID, updateRecords)\n\n#Print the result:\nprint(result)\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://gitlab.com/ludeeus/pycfdns", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pycfdns", "package_url": "https://pypi.org/project/pycfdns/", "platform": "", "project_url": "https://pypi.org/project/pycfdns/", "project_urls": { "Homepage": "https://gitlab.com/ludeeus/pycfdns" }, "release_url": "https://pypi.org/project/pycfdns/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A module for updating Cloudflare DNS records.", "version": "0.0.2" }, "last_serial": 3944899, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "34b86301ceb086d343b9a23510242138", "sha256": "b0b0934cce1e2b71216051b46865f41dc2d72915432d978a40ca60e8e36089ba" }, "downloads": -1, "filename": "pycfdns-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34b86301ceb086d343b9a23510242138", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2868, "upload_time": "2018-05-22T18:57:38", "url": "https://files.pythonhosted.org/packages/70/80/258bbef32bb88890d62b4b45fe9b98932c54e9b565fd77df3d03aed5c424/pycfdns-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f092ac9b2aa56693cd8b169e56884c9", "sha256": "bab5075ce792a0159e06240b0584c787600b55b404c0e858a71b43b8322c4b73" }, "downloads": -1, "filename": "pycfdns-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7f092ac9b2aa56693cd8b169e56884c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2539, "upload_time": "2018-05-22T18:57:39", "url": "https://files.pythonhosted.org/packages/8b/e1/0bad8cf1d345919e6df4623e06589542cd99152cce42b0b378857d89ca77/pycfdns-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "02e35cdc22e256590304e4c2b50786c5", "sha256": "0261ba3e5f81d3c895dda30fb69e083f1c8e1c150dc52e776b705d6624b7a93a" }, "downloads": -1, "filename": "pycfdns-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "02e35cdc22e256590304e4c2b50786c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2868, "upload_time": "2018-06-09T08:59:05", "url": "https://files.pythonhosted.org/packages/5e/3c/62f725910a56521c53a751472c99811daa7b85a88a47f44c68d76c0f541f/pycfdns-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02e35cdc22e256590304e4c2b50786c5", "sha256": "0261ba3e5f81d3c895dda30fb69e083f1c8e1c150dc52e776b705d6624b7a93a" }, "downloads": -1, "filename": "pycfdns-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "02e35cdc22e256590304e4c2b50786c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2868, "upload_time": "2018-06-09T08:59:05", "url": "https://files.pythonhosted.org/packages/5e/3c/62f725910a56521c53a751472c99811daa7b85a88a47f44c68d76c0f541f/pycfdns-0.0.2-py3-none-any.whl" } ] }