{ "info": { "author": "Gary Grant Graham", "author_email": "gary@kaniwani.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======================\n|wk_logo| wanikani_api\n======================\n\n.. |wk_logo| image:: https://discourse-cdn-sjc1.com/business5/uploads/wanikani_community/original/3X/7/a/7a2bd7e8dcf8d7766b51a77960d86949215c830c.png?v=5\n :target: https://wanikani.com\n :align: middle\n\n\n.. image:: https://img.shields.io/pypi/v/wanikani_api.svg\n :target: https://pypi.python.org/pypi/wanikani_api\n\n.. image:: https://img.shields.io/travis/Kaniwani/wanikani_api.svg\n :target: https://travis-ci.org/Kaniwani/wanikani_api\n\n.. image:: https://readthedocs.org/projects/wanikani-api/badge/?version=latest\n :target: https://wanikani-api.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/Kaniwani/wanikani_api/shield.svg\n :target: https://pyup.io/repos/github/Kaniwani/wanikani_api/\n :alt: Updates\n\n\nAn API wrapper for Wanikani (V2)\n\n\n* Free software: BSD license\n* Documentation: https://wanikani-api.readthedocs.io.\n\n\nFeatures\n--------\n\n* Easy access to Wanikani resources associated to your account.\n* Automatic handling of pagination.\n* Automatic fetching of related Subjects\n\n\nQuickstart\n----------\n\n.. code-block:: python\n\n >>> from wanikani_api.client import Client\n >>> v2_api_key = \"drop_your_v2_api_key_in_here\" # You can get it here: https://www.wanikani.com/settings/account\n >>> client = Client(v2_api_key)\n >>> user_information = client.user_information()\n >>> print(user_information)\n UserInformation{ username:Tadgh11, level:8, max_level_granted_by_subscription:60, profile_url:https://www.wanikani.com/users/Tadgh11 started_at:2013-07-09 12:02:54.952786+00:00, subscribed:True, current_vacation_started_at:None }\n >>> all_vocabulary = client.subjects(types=\"vocabulary\")\n >>> for vocab in all_vocabulary:\n >>> print(vocab.meanings[0].meaning) #Vocabulary may have multiple meanings, we just grab the first in the list.\n One\n One Thing\n Seven\n Seven Things\n Nine\n Nine Things\n Two\n ...\n\n\nTODO\n----\n* Make use of ETags for caching\n* simplify API\n* Improve automatic prefetching of subjects when relevant.\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n0.2.0 (2019-02-24)\n------------------\n\n* Fix subjects calls to fill all new data.\n\n0.1.1 (2018-06-26)\n------------------\n\n* Change Assignment endpoint to reflect the newly dropped fields from the api (`level` specifically).\n* Add some proper String representation\n* Work on the Etag cache, bringing it closer to completion.\n\n0.1.0 (2018-06-26)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Kaniwani/wanikani_api", "keywords": "wanikani_api", "license": "BSD license", "maintainer": "", "maintainer_email": "", "name": "wanikani-api", "package_url": "https://pypi.org/project/wanikani-api/", "platform": "", "project_url": "https://pypi.org/project/wanikani-api/", "project_urls": { "Homepage": "https://github.com/Kaniwani/wanikani_api" }, "release_url": "https://pypi.org/project/wanikani-api/0.2.0/", "requires_dist": [ "requests", "python-dateutil" ], "requires_python": "", "summary": "An API wrapper for Wanikani (V2)", "version": "0.2.0" }, "last_serial": 5378307, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "64fb1773b689124ecd98069b91769e4e", "sha256": "5f0b516eeeeba808199aa888a3caa6bd9168539d251b1055860252021a74b79d" }, "downloads": -1, "filename": "wanikani_api-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64fb1773b689124ecd98069b91769e4e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13848, "upload_time": "2019-06-09T18:16:15", "url": "https://files.pythonhosted.org/packages/d9/32/564d08a58f0d4c9505a9bd4b72a8768f7ee164255dcf8d3d42f3be99e2d5/wanikani_api-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c1925d5623d70cf09e7b515e1d6de10", "sha256": "e84c307ef18004820653677014775433232141ef5064ff9cdda7883cfbefe196" }, "downloads": -1, "filename": "wanikani_api-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0c1925d5623d70cf09e7b515e1d6de10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33680, "upload_time": "2019-06-09T18:16:17", "url": "https://files.pythonhosted.org/packages/d7/47/0511e674ae092c3d4e3dca98fb9130c01259e45b541a95b672eb62467039/wanikani_api-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64fb1773b689124ecd98069b91769e4e", "sha256": "5f0b516eeeeba808199aa888a3caa6bd9168539d251b1055860252021a74b79d" }, "downloads": -1, "filename": "wanikani_api-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64fb1773b689124ecd98069b91769e4e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13848, "upload_time": "2019-06-09T18:16:15", "url": "https://files.pythonhosted.org/packages/d9/32/564d08a58f0d4c9505a9bd4b72a8768f7ee164255dcf8d3d42f3be99e2d5/wanikani_api-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c1925d5623d70cf09e7b515e1d6de10", "sha256": "e84c307ef18004820653677014775433232141ef5064ff9cdda7883cfbefe196" }, "downloads": -1, "filename": "wanikani_api-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0c1925d5623d70cf09e7b515e1d6de10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33680, "upload_time": "2019-06-09T18:16:17", "url": "https://files.pythonhosted.org/packages/d7/47/0511e674ae092c3d4e3dca98fb9130c01259e45b541a95b672eb62467039/wanikani_api-0.2.0.tar.gz" } ] }