{ "info": { "author": "Coffee Fueled Deadlines", "author_email": "cookm0803@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# OSRS Hiscores API Library\n\n## Purpose\n The purpose of this library is to interface with Old School Runescape (OSRS)'s Hiscores page and allow developers to access stat levels, ranks, and experience levels in a more intuitive way (via dictionary). This library accesses this information via a `http.client` request and parses the information accordingly.\n\t\n\n## Installation\n```\npython -m pip install OSRS-Hiscores\n```\n\n## Example Usage\n```Python\nfrom OSRS_Hiscores import Hiscores\n\n# User to lookup\nusername = 'Zezima'\n\n# Initialize user object, if no account type is specified, we assume 'N'\nuser = Hiscores(username, 'N')\n\n# Get the entire stat dictionary\nuser.stats\n\n# Get total Levels\nuser.skill('total')\n\n# Get a specific skill's ranking, level, and experience\nuser.stats['runecrafting']\n\n# Get skill's level, ranking, and experience separately\nuser.stats['runecrafting']['level']\nuser.stats['runecrafting']['rank']\nuser.stats['runecrafting']['experience']\n\n# NEW\nuser.stats['runecrafting']['next_level_experience'] # Total Exp needed for next level\nuser.stats['runecrafting']['exp_to_next_level'] # Exp remaining til next level\n\n# A simpler way to just get a skill's attributes\nprint(\"Current level:\", user.skill('attack', 'level'))\nprint(\"Current rank:\", user.skill('attack', 'rank'))\nprint(\"Current exp:\", user.skill('attack', 'experience'))\nprint(\"Exp remaining:\", user.skill('attack','exp_to_next_level'))\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/Coffee-fueled-deadlines/osrs-hiscores", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "OSRS-Hiscores", "package_url": "https://pypi.org/project/OSRS-Hiscores/", "platform": "", "project_url": "https://pypi.org/project/OSRS-Hiscores/", "project_urls": { "Homepage": "https://github.com/Coffee-fueled-deadlines/osrs-hiscores" }, "release_url": "https://pypi.org/project/OSRS-Hiscores/0.5/", "requires_dist": null, "requires_python": "", "summary": "An Old School Runescape (OSRS) Library", "version": "0.5" }, "last_serial": 5616373, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2fa112f8707adebde1762e7bbf7d97e4", "sha256": "5336ed5eb26904eb7caa3b6389c6d782a1397e6dda60a2cf231f748f7d3ce61d" }, "downloads": -1, "filename": "OSRS_Hiscores-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2fa112f8707adebde1762e7bbf7d97e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3895, "upload_time": "2019-05-30T22:00:58", "url": "https://files.pythonhosted.org/packages/a0/5f/35fad2d1adec3671b0c8babc12d94cbad05f4cb3e58471f3afc7198488d9/OSRS_Hiscores-0.1-py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0ee2afb7c4c00c7e7785b37df6e5efc3", "sha256": "82d98479ba61dd248178e0429cf371ded93d7679dcf2898f6ebd201076216142" }, "downloads": -1, "filename": "OSRS_Hiscores-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0ee2afb7c4c00c7e7785b37df6e5efc3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3467, "upload_time": "2019-06-11T05:54:23", "url": "https://files.pythonhosted.org/packages/5e/50/b793bb7f382ff928f2c001bc73a1e2c19148cd550b6c768b8e398968f05f/OSRS_Hiscores-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "300703181a6ff02b563d76bbee81209b", "sha256": "b832f6fa493eefa84d334162f8014c3554c6b3c3f0196d8fbbb2b92a2065a488" }, "downloads": -1, "filename": "OSRS Hiscores-0.2.tar.gz", "has_sig": false, "md5_digest": "300703181a6ff02b563d76bbee81209b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2310, "upload_time": "2019-06-11T05:54:24", "url": "https://files.pythonhosted.org/packages/f2/34/f92853216f808577522794679b91af3e759e714faeaeebae9969ee3d03b5/OSRS%20Hiscores-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "7f0f68b3b9325fb5ddef1eb3c1f15f79", "sha256": "5d34631268b7fe0d09c08ddb7bb865a03a05735274502f3417e1cc483488422c" }, "downloads": -1, "filename": "OSRS_Hiscores-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "7f0f68b3b9325fb5ddef1eb3c1f15f79", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3622, "upload_time": "2019-06-12T20:15:22", "url": "https://files.pythonhosted.org/packages/de/03/3f76979b9dbe2d1395520fa54de95a12ebeb0d7ddcbff4eb9c6886b1697d/OSRS_Hiscores-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "628ee8ca6286ef21c8e43488fdaf83a0", "sha256": "f2064d281021528564aff082fa1254f5c41cdca8d76253504bc34278575b9e43" }, "downloads": -1, "filename": "OSRS Hiscores-0.3.tar.gz", "has_sig": false, "md5_digest": "628ee8ca6286ef21c8e43488fdaf83a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2451, "upload_time": "2019-06-12T20:15:23", "url": "https://files.pythonhosted.org/packages/56/7e/f5095efae7e85ed40d0ccff41b6ad6e8ad6fef4ea48eed5f038cc708be11/OSRS%20Hiscores-0.3.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "16809280787fe7e37209c15bb19f024c", "sha256": "62dc72f27313f199189868d382696d35db41d97fc95c810404cb5e9ec36faa85" }, "downloads": -1, "filename": "OSRS-Hiscores-0.5.tar.gz", "has_sig": false, "md5_digest": "16809280787fe7e37209c15bb19f024c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3731, "upload_time": "2019-08-01T02:17:03", "url": "https://files.pythonhosted.org/packages/90/c6/f4860b580089f36285e9e86e96fb05191988254c79d46072644172637045/OSRS-Hiscores-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16809280787fe7e37209c15bb19f024c", "sha256": "62dc72f27313f199189868d382696d35db41d97fc95c810404cb5e9ec36faa85" }, "downloads": -1, "filename": "OSRS-Hiscores-0.5.tar.gz", "has_sig": false, "md5_digest": "16809280787fe7e37209c15bb19f024c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3731, "upload_time": "2019-08-01T02:17:03", "url": "https://files.pythonhosted.org/packages/90/c6/f4860b580089f36285e9e86e96fb05191988254c79d46072644172637045/OSRS-Hiscores-0.5.tar.gz" } ] }