{ "info": { "author": "Alex Sun", "author_email": "syaningv@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only" ], "description": "zhihu API\n=========================\n\n**UNOFFICIAL** API for `zhihu `_. This package supports only Python 3.x.\n\nA `Node.js implementation `_ is also available.\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install zhihuapi\n\nQuich Start\n-----------\n\n.. code-block:: python\n\n import zhihuapi as api\n\n with open('cookie') as f:\n api.cookie(f.read())\n\n data = api.user('zhihuadmin').profile()\n print(data)\n\nThe result is:\n\n.. code-block:: js\n\t\n\t{\n\t \"url_token\": \"zhihuadmin\",\n\t \"avatar_url\": \"https://pic3.zhimg.com/34bf96bf5584ac4b5264bd7ed4fdbc5a_is.jpg\",\n\t \"avatar_url_template\": \"https://pic3.zhimg.com/34bf96bf5584ac4b5264bd7ed4fdbc5a_{size}.jpg\",\n\t \"type\": \"people\",\n\t \"name\": \"\u77e5\u4e4e\u5c0f\u7ba1\u5bb6\",\n\t \"headline\": \"\u6b22\u8fce\u53cd\u9988\u95ee\u9898\u548c\u5efa\u8bae\uff01\",\n\t \"is_org\": false,\n\t \"url\": \"https://www.zhihu.com/people/zhihuadmin\",\n\t \"badge\": [\n\t {\n\t \"type\": \"identity\",\n\t \"description\": \"\u77e5\u4e4e\u5b98\u65b9\u5e10\u53f7\"\n\t }\n\t ],\n\t \"user_type\": \"people\",\n\t \"is_advertiser\": false,\n\t \"id\": \"3d198a56310c02c4a83efb9f4a4c027e\"\n\t}\n\nLicense\n-------\n\nMIT", "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/syaning/zhihuapi-py", "keywords": "zhihuapi zhihu api crawler spider", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "zhihuapi", "package_url": "https://pypi.org/project/zhihuapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zhihuapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/syaning/zhihuapi-py" }, "release_url": "https://pypi.org/project/zhihuapi/0.6.0/", "requires_dist": null, "requires_python": null, "summary": "Unofficial API for zhihu.", "version": "0.6.0" }, "last_serial": 2651322, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "61f0226f02251ca06f0a683f405a46b1", "sha256": "42dfbef782ab129ea97ad9077d4c441c52977ec52671f82dbf31caa3b2b722e9" }, "downloads": -1, "filename": "zhihuapi-0.1.0.zip", "has_sig": false, "md5_digest": "61f0226f02251ca06f0a683f405a46b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5540, "upload_time": "2016-12-22T08:32:56", "url": "https://files.pythonhosted.org/packages/ba/a4/df404b0c626aa4fd79bc2aa2eac4f70ca18b5e49b35710a465fc75a814c5/zhihuapi-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1bc9ba4f0c81b0197fb0e91346350ebf", "sha256": "2709e90518a2309a14826f51cf81fa8457233844f8f08f7b0d646eae5c89ba8f" }, "downloads": -1, "filename": "zhihuapi-0.1.1.zip", "has_sig": false, "md5_digest": "1bc9ba4f0c81b0197fb0e91346350ebf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5549, "upload_time": "2016-12-22T08:52:17", "url": "https://files.pythonhosted.org/packages/6b/1b/1e60d6c90764ab3a63081bf0f426717e369a4cb37dfb7153fee84970118e/zhihuapi-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "22b80044551779727c5db2cb97268cea", "sha256": "e25313e36f55ce57c815bcb82184c56043f8d902e813ec37ed3ebbfa5739872e" }, "downloads": -1, "filename": "zhihuapi-0.1.2.zip", "has_sig": false, "md5_digest": "22b80044551779727c5db2cb97268cea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7018, "upload_time": "2016-12-22T08:54:53", "url": "https://files.pythonhosted.org/packages/8d/90/d7c2d47620d26d9226488521a9f4f3765203dd67e9b9d5217c77f9a5282f/zhihuapi-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "73b47458161a5e3b07c6ff7a845a377f", "sha256": "e73ce3281e4ff4528260ee1a131f9036384cc2e08253ff764236aefff4c1f7ae" }, "downloads": -1, "filename": "zhihuapi-0.1.3.zip", "has_sig": false, "md5_digest": "73b47458161a5e3b07c6ff7a845a377f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7874, "upload_time": "2016-12-22T09:02:09", "url": "https://files.pythonhosted.org/packages/af/3d/7ab67807b85886f46768dfb2adc0d4a7daf03f5ca3534ad024434152e9ee/zhihuapi-0.1.3.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "533adaa9fafb039179e37f3a46f4a467", "sha256": "97a31b920f371a405004205305517ee68228011667104a888858a0f6ee402988" }, "downloads": -1, "filename": "zhihuapi-0.2.0.zip", "has_sig": false, "md5_digest": "533adaa9fafb039179e37f3a46f4a467", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14211, "upload_time": "2016-12-23T07:32:12", "url": "https://files.pythonhosted.org/packages/6e/57/5e0350e5f2b5efbb4b7e296800bbb6e2548ec764bd1ecfb57bd165fb3e28/zhihuapi-0.2.0.zip" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "08e1acd858836f78eb85128b4db3ae14", "sha256": "0bebe989f85ffba9def630e6d897e4e320b9ba9bd9b72f65a88e2cd1ea90d9e8" }, "downloads": -1, "filename": "zhihuapi-0.5.0.zip", "has_sig": false, "md5_digest": "08e1acd858836f78eb85128b4db3ae14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17396, "upload_time": "2016-12-26T09:55:49", "url": "https://files.pythonhosted.org/packages/08/7b/641d9764de2cf8d79298124167014e7f9c296f4c94354ba98c793aaa4af1/zhihuapi-0.5.0.zip" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "c7434025df29a81930cc1e4f3fe62429", "sha256": "432970d47ac75d045bda16047d170db063b89539d10fa1c60f8256ea8cb606ad" }, "downloads": -1, "filename": "zhihuapi-0.6.0.tar.gz", "has_sig": false, "md5_digest": "c7434025df29a81930cc1e4f3fe62429", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10085, "upload_time": "2017-02-18T10:04:30", "url": "https://files.pythonhosted.org/packages/44/4b/09f9e0f4f552658d200f5be3bd81ffacd1ae87a25142a79225d92d953f56/zhihuapi-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c7434025df29a81930cc1e4f3fe62429", "sha256": "432970d47ac75d045bda16047d170db063b89539d10fa1c60f8256ea8cb606ad" }, "downloads": -1, "filename": "zhihuapi-0.6.0.tar.gz", "has_sig": false, "md5_digest": "c7434025df29a81930cc1e4f3fe62429", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10085, "upload_time": "2017-02-18T10:04:30", "url": "https://files.pythonhosted.org/packages/44/4b/09f9e0f4f552658d200f5be3bd81ffacd1ae87a25142a79225d92d953f56/zhihuapi-0.6.0.tar.gz" } ] }