{ "info": { "author": "Miles Budden", "author_email": "miles@budden.net", "bugtrack_url": null, "classifiers": [], "description": "Dathost-python\n==============\n.. image:: https://img.shields.io/github/issues/pbexe/dathost-python.svg\n :target: https://github.com/pbexe/dathost-python/issues\n\n.. image:: https://badge.fury.io/py/dathostpython.svg\n :target: https://badge.fury.io/py/dathostpython\n\n.. image:: https://img.shields.io/pypi/dm/dathostpython.svg\n :target: https://pypi.python.org/pypi?name=dathostpython&:action=display\n\n\n\n\nThis is a python wrapper for the dathost API.\n\nInstallation\n------------\n\n.. code:: python\n\n pip3 install dathostpython\n\nBasic usage\n-----------\n\n.. code:: python\n\n from dathostpython.wrapper import dathost\n\n dathost = dathost(\"email\", \"password\")\n\n # List servers and all their details\n print(dathost.servers())\n\n # Start a server\n dathost.start(\"server id\")\n\n # Stop a server\n dathost.stop(\"server id\")\n\n # Duplicate a server\n dathost.duplicate(\"server id\")\n\n # Duplicate a server and print its id\n print(dathost.duplicate(\"server id\")[\"id\"])\n\n # Delete a server\n dathost.delete(\"server id\")\n\n # Retrieve a file from the server\n dathost.getFile(\"server id\", \"path/to/file.txt\")\n\n # Retrieve info on a server\n print(dathost.info(\"server id\"))\n\n # Edit a server value\n # Multiple values can be passed, for example:\n # dathost.edit(\"570e1dadcde5f5xxxxxxxxxx\", csgo_settings__rcon = \"Bob\", name = \"Bob\")\n # \n # Note:\n # For parameters with \".\" in them, replace the \".\" with \"__\".\n # A full list of parameters can be found at https://dathost.net/api#!/default/put_game_server_item\n dathost.edit(\"server id\", parameter = \"value\" )\n\n # List files in a directory\n # The final 2 parameters (Hide default files and show file sizes) are optional\n dathost.files(\"server id\", \"path/to/dir/\", True, True)\n\n # Sync the files between the local cache and the gameserver\n dathost.sync(\"server id\")", "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/pbexe/dathost-python", "keywords": "dathost,hosting,wrapper", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "dathostpython", "package_url": "https://pypi.org/project/dathostpython/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dathostpython/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pbexe/dathost-python" }, "release_url": "https://pypi.org/project/dathostpython/1.3.4/", "requires_dist": null, "requires_python": null, "summary": "A python wrapper for the Dathost API", "version": "1.3.4" }, "last_serial": 2069667, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "b0bb01c4ed8d83b32873307359b2b27b", "sha256": "7f4fae277b44c6ba1edd1acc0d9536dc7d7a4f7d5e7a2249a5922a615e34ea4e" }, "downloads": -1, "filename": "dathostpython-0.2.zip", "has_sig": false, "md5_digest": "b0bb01c4ed8d83b32873307359b2b27b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1565, "upload_time": "2016-04-13T15:43:44", "url": "https://files.pythonhosted.org/packages/91/88/ae55f2a93e56ef9a8e56155e790a7ea8fc136dbd481d5876d5f2c401b336/dathostpython-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0259b2e2e113b3b001605a1af4f94eac", "sha256": "d1ad037a9b8fffdf4e33b092a8f6b20b0d443906f7463cc5db526a6261e2e63a" }, "downloads": -1, "filename": "dathostpython-0.3.zip", "has_sig": false, "md5_digest": "0259b2e2e113b3b001605a1af4f94eac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1565, "upload_time": "2016-04-13T15:54:45", "url": "https://files.pythonhosted.org/packages/a1/11/fa482e1dd1647dcad48339295aaa5a8917583966674c016a07600c0d4be1/dathostpython-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "151e626d69b97dd109f7478f050b52ef", "sha256": "fdaecd739238d919587af12372516fd634128a9c2b8e31e3c5bab2146cffeef5" }, "downloads": -1, "filename": "dathostpython-0.4.zip", "has_sig": false, "md5_digest": "151e626d69b97dd109f7478f050b52ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1954, "upload_time": "2016-04-13T16:41:23", "url": "https://files.pythonhosted.org/packages/fc/93/ab829da0607f5a8e19d33247389acc4da6041799959c1e0c8c46a37633a7/dathostpython-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "a1dfb7569413bd4a7c4b3f7ba975b7ef", "sha256": "ef89e65c98529c4f9448e3494fb8f6491e74f5e818cacca0d8bc3ead29777b08" }, "downloads": -1, "filename": "dathostpython-0.5.zip", "has_sig": false, "md5_digest": "a1dfb7569413bd4a7c4b3f7ba975b7ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1783, "upload_time": "2016-04-13T21:43:43", "url": "https://files.pythonhosted.org/packages/ca/f7/970de36467d6f2693aa7b87c8d927310d08ab736a56a274fd268f2142b62/dathostpython-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "2bdd7391ab56bc4fe49cda534a5639cd", "sha256": "074bd2986315a616e1ec5cdb8bc274f6ae71f5330ace7a2f3d128ad15ebe875c" }, "downloads": -1, "filename": "dathostpython-0.6.zip", "has_sig": false, "md5_digest": "2bdd7391ab56bc4fe49cda534a5639cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2446, "upload_time": "2016-04-14T21:34:06", "url": "https://files.pythonhosted.org/packages/7c/e4/ac7e5c42fa6eac2bfb6b84b0b76fe2c9250840c0c9376947bc649b528981/dathostpython-0.6.zip" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "d652d3dcc5401c5b18d799f2dfe613f9", "sha256": "2dc0f7a98eeaafde8d9753b87ab695d5a2eaad5a5be0bb39e5239588df51c0cc" }, "downloads": -1, "filename": "dathostpython-1.0.zip", "has_sig": false, "md5_digest": "d652d3dcc5401c5b18d799f2dfe613f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1805, "upload_time": "2016-04-14T21:38:01", "url": "https://files.pythonhosted.org/packages/a9/8f/aac38ca0424d84f7dd192955e78ec2bd8e05b688f809c9db151b37a6acd0/dathostpython-1.0.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "c7c4a7f522881437e342ad8b9fae916f", "sha256": "c8acbc03a501d645387ac20977e2ca2fe1fe9a66c0ef0fe53cc4b39ba7fb7aba" }, "downloads": -1, "filename": "dathostpython-1.2.zip", "has_sig": false, "md5_digest": "c7c4a7f522881437e342ad8b9fae916f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2422, "upload_time": "2016-04-14T21:39:54", "url": "https://files.pythonhosted.org/packages/9b/0d/37bde864f4a2e7b8634cc656dec63f3fbc7fec29ce72376677153d793171/dathostpython-1.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "479c646b32a792525235d881f2164d17", "sha256": "13b25a6cacc4413d58b98d7698b5033cdccde24eb62fcb2e7cb647a20c5d77bf" }, "downloads": -1, "filename": "dathostpython-1.3.zip", "has_sig": false, "md5_digest": "479c646b32a792525235d881f2164d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2443, "upload_time": "2016-04-15T11:11:48", "url": "https://files.pythonhosted.org/packages/02/f6/11593345bfa4cfc59990059e7e6aa0df540dd235da615b2853c79be10f26/dathostpython-1.3.zip" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "0b8e3fed5a4eb855ac4e4a6740ec95fe", "sha256": "c5b383e5f07079f94257bb8f61a5d5365a0d32f73d7de4391fd433d8d1d85a3f" }, "downloads": -1, "filename": "dathostpython-1.3.1.zip", "has_sig": false, "md5_digest": "0b8e3fed5a4eb855ac4e4a6740ec95fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2466, "upload_time": "2016-04-15T11:13:31", "url": "https://files.pythonhosted.org/packages/12/5b/6eb4c549e85f79b9fd1701509b840080e4450c88ea9c4c9e216f6c35a5df/dathostpython-1.3.1.zip" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "58efcd93b1541b68ea8640fd06ebb01c", "sha256": "75013fe219ebeb9bde164e0ccc61a9a24f8c6701f7627e5e18827fc26e06e974" }, "downloads": -1, "filename": "dathostpython-1.3.2.zip", "has_sig": false, "md5_digest": "58efcd93b1541b68ea8640fd06ebb01c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2466, "upload_time": "2016-04-15T11:15:23", "url": "https://files.pythonhosted.org/packages/4e/d8/7f97b6bfefed2954dee0b55bc7c836d2f9b5f9ca5753790fcf89ad2c063b/dathostpython-1.3.2.zip" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "c2e2e20c8fa3c5e14604de2eaedb4b92", "sha256": "46c780c00ba2593d82f89104a87942720ab461e4c038fa5aa099f7ce0141dc97" }, "downloads": -1, "filename": "dathostpython-1.3.3.zip", "has_sig": false, "md5_digest": "c2e2e20c8fa3c5e14604de2eaedb4b92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3042, "upload_time": "2016-04-15T11:25:16", "url": "https://files.pythonhosted.org/packages/2a/25/3869b6a8fe6afd6c87581bf5bbab4f264fe87565f5834aee69221739d3e9/dathostpython-1.3.3.zip" } ], "1.3.4": [ { "comment_text": "", "digests": { "md5": "aeedb18974dbb5ec8f3649c58ea37d02", "sha256": "8c2788d493b54a1176201d5e02039a0a0b35c3188265fd897a75b0159aec3658" }, "downloads": -1, "filename": "dathostpython-1.3.4.zip", "has_sig": false, "md5_digest": "aeedb18974dbb5ec8f3649c58ea37d02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3149, "upload_time": "2016-04-18T15:29:19", "url": "https://files.pythonhosted.org/packages/3d/93/b2dc485f051d8e75b11cc202ad113cffff142240f67fa7a6fa09d7fd5d38/dathostpython-1.3.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aeedb18974dbb5ec8f3649c58ea37d02", "sha256": "8c2788d493b54a1176201d5e02039a0a0b35c3188265fd897a75b0159aec3658" }, "downloads": -1, "filename": "dathostpython-1.3.4.zip", "has_sig": false, "md5_digest": "aeedb18974dbb5ec8f3649c58ea37d02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3149, "upload_time": "2016-04-18T15:29:19", "url": "https://files.pythonhosted.org/packages/3d/93/b2dc485f051d8e75b11cc202ad113cffff142240f67fa7a6fa09d7fd5d38/dathostpython-1.3.4.zip" } ] }