{ "info": { "author": "Marc Goetz", "author_email": "goetz.marc@googlemail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": ".. contents::\r\n\r\nChange history\r\n**************\r\n\r\nChangelog\r\n=========\r\n\r\n0.1 (09-13-10)\r\n-------------------\r\n\r\n- Initial release\r\n\r\n0.2 (09-13-10)\r\n-------------------\r\n\r\n- Added doctest\r\n\r\n0.3 (09-13-10)\r\n-------------------\r\n\r\n- More detailed doctest (also used as readme)\r\n\r\n0.4 (09-16-10)\r\n-------------------\r\n\r\n- Fixed a typo in the doctest\r\n- Changed get_realm_status(self, name) and get_realm_type(self, name) to (self, \\* names)\r\n\r\nDetailed Documentation\r\n**********************\r\n\r\nIntroduction\r\n============\r\n\r\nThe realmstatus-API reads the realmstatus-xml from wow-europe.com to get the status of a specified realm (\"Realm Up/Realm Down\") and\r\nthe type of the realm (PvE,PvP etc.).\r\n\r\nUsage\r\n=====\r\n\r\nTo use the API, just do an import like this\r\n\r\n::\r\n\r\n >>> from realmstatus_api import Realmstatus\r\n\r\nMock Realmstatus.get_realm_status and Realmstatus.get_realm_type\r\n\r\nReturns output similar to what we would get from the API, so\r\nthat this test can be used while offline\r\n\r\n::\r\n\r\n >>> from test_realmstatus import mocked_get_realm_status, mocked_get_realm_type\r\n\r\nMocking the functions\r\n\r\n::\r\n\r\n >>> Realmstatus.get_realm_status = mocked_get_realm_status\r\n >>> Realmstatus.get_realm_type = mocked_get_realm_type\r\n\r\nFirst create an instance of the Realmstatus object\r\n\r\n::\r\n\r\n >>> realmstatus = Realmstatus()\r\n\r\nTo get the status of a realm, use get_realm_status(\\* names).\r\nIf you want, you can get the status of multiple realms (in a dictionary)\r\n\r\n::\r\n\r\n >>> status = realmstatus.get_realm_status(\"Azshara\")[\"Azshara\"]\r\n >>> status == \"Realm Up\"\r\n True\r\n\r\nTo get the type of a realm, use get_realm_type(\\* names).\r\nIf you want, you can get the type of multiple realms (in a dictionary)\r\n\r\n::\r\n\r\n >>> type = realmstatus.get_realm_type(\"Azshara\")[\"Azshara\"]\r\n >>> type == \"PvP\"\r\n True\r\n\r\nContributors\r\n************\r\n\r\nMarc Goetz, Author\r\n\r\nDownload\r\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/wowrealmstatusapi/", "keywords": "realm status wow warcraft api", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "wow.realmstatusapi", "package_url": "https://pypi.org/project/wow.realmstatusapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wow.realmstatusapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/wowrealmstatusapi/" }, "release_url": "https://pypi.org/project/wow.realmstatusapi/0.4/", "requires_dist": null, "requires_python": null, "summary": "Python World of Warcraft Realmstatus API", "version": "0.4" }, "last_serial": 205877, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7bd0bd05cf398a6a5191076035d42ac5", "sha256": "00b93113fb52ae2e490964fbd2c46b4b42e721d35b96ab65279a03996a3cd927" }, "downloads": -1, "filename": "wow.realmstatusapi-0.1.zip", "has_sig": false, "md5_digest": "7bd0bd05cf398a6a5191076035d42ac5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5524, "upload_time": "2010-09-13T09:46:41", "url": "https://files.pythonhosted.org/packages/fa/65/837c92f4106f3d026005942391e346f37e46ccf99265e4a827e83cc0477f/wow.realmstatusapi-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7c971dcdb358465d4a71cd2d19bd8b0c", "sha256": "7e395926e30ba5cfc58c2bfabb57c4d24e8741145a0c1994a1b606d0e27b204c" }, "downloads": -1, "filename": "wow.realmstatusapi-0.2.zip", "has_sig": false, "md5_digest": "7c971dcdb358465d4a71cd2d19bd8b0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6782, "upload_time": "2010-09-13T11:12:44", "url": "https://files.pythonhosted.org/packages/dc/95/f477a0c657d56008ed8af827c5733c2647d09ab56b302543d96d7c8b0634/wow.realmstatusapi-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "fe555fcc8f2a1b49474aa7b1fcb3a6a3", "sha256": "ae7ddf6c41ee67920d3d1fb3c517087c9bf9c9ee590b2aa5a24ad9e58f963113" }, "downloads": -1, "filename": "wow.realmstatusapi-0.3.zip", "has_sig": false, "md5_digest": "fe555fcc8f2a1b49474aa7b1fcb3a6a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7457, "upload_time": "2010-09-13T12:45:44", "url": "https://files.pythonhosted.org/packages/16/fd/e3051daf3e73b1ecdc78b80e6dc8999b6810a52453bbe851fd9e0d6ddf33/wow.realmstatusapi-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a5223e260c2a346a7bc5d2e3b80cc705", "sha256": "3ffa47f995e433ea0fe73989fec66e14d764180b042c2947e7021cfbed006a52" }, "downloads": -1, "filename": "wow.realmstatusapi-0.4.zip", "has_sig": false, "md5_digest": "a5223e260c2a346a7bc5d2e3b80cc705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7810, "upload_time": "2010-09-16T10:32:17", "url": "https://files.pythonhosted.org/packages/d2/7c/49d9e8700574dd25a95500ed49b3b6555e08a3cb439459ae905481e029cf/wow.realmstatusapi-0.4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a5223e260c2a346a7bc5d2e3b80cc705", "sha256": "3ffa47f995e433ea0fe73989fec66e14d764180b042c2947e7021cfbed006a52" }, "downloads": -1, "filename": "wow.realmstatusapi-0.4.zip", "has_sig": false, "md5_digest": "a5223e260c2a346a7bc5d2e3b80cc705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7810, "upload_time": "2010-09-16T10:32:17", "url": "https://files.pythonhosted.org/packages/d2/7c/49d9e8700574dd25a95500ed49b3b6555e08a3cb439459ae905481e029cf/wow.realmstatusapi-0.4.zip" } ] }