{ "info": { "author": "Rylan Santinon", "author_email": "rylans@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: Indexing/Search", "Topic :: Utilities" ], "description": "Hacker News Top\n===============\n\n|Build Status| |Coverage Status| |Version| |License|\n\nUnofficial Python wrapper over Hacker News' official Firebase API.\n\nInstall\n-------\n\n::\n\n > pip install hntop\n\nUsage Examples\n--------------\n\nGet Item\n~~~~~~~~\n\n.. code:: python\n\n >>> from hnapi import HnApi\n >>> con = HnApi()\n >>> item = con.get_item(8863)\n >>> item.get('title')\n u'My YC app: Dropbox - Throw away your USB drive'\n >>> item.get('by')\n u'dhouston'\n\nGet User\n~~~~~~~~\n\n.. code:: python\n\n >>> from hnapi import HnApi\n >>> user = HnApi().get_user('pg')\n >>> user.get('about')\n u'Bug Fixer.'\n >>> user.get('karma')\n 155046\n >>> user.type\n u'user'\n\nTop Stories\n~~~~~~~~~~~\n\n.. code:: python\n\n >>> from hnapi import HnApi\n >>> top = HnApi().get_top()\n >>> top\n [8959672, 8960995, 8961086, 8960029, 8960773, 8959207, 8960504, 8960280, 8960486, 8959875, 8955426, 8958731, 8961438, 8961093, 8959138]\n\nMax Item\n~~~~~~~~\n\n.. code:: python\n\n >>> from hnapi import HnApi\n >>> con = HnApi()\n >>> max_item_id = con.get_max_item()\n >>> max_item_id\n 8967822\n >>> max_item = con.get_item(max_item_id)\n >>> max_item.get('type')\n u'comment'\n >>> max_item.get('text')\n u'Interesting. Being partially colour blind I would have thought that the original was much greener, while the re-release is a lot bluer and..'\n\nDocumentation\n-------------\n\n`Documentation `__\n\nLicense\n-------\n\nApache\n\n.. |Build Status| image:: https://travis-ci.org/rylans/hackernews-top.svg?branch=master\n :target: https://travis-ci.org/rylans/hackernews-top\n.. |Coverage Status| image:: https://coveralls.io/repos/rylans/hackernews-top/badge.svg?branch=master\n :target: https://coveralls.io/r/rylans/hackernews-top?branch=master\n.. |Version| image:: https://badge.fury.io/py/hntop.svg\n :target: https://badge.fury.io/py/hntop\n.. |License| image:: https://img.shields.io/pypi/l/hntop.svg\n :target: https://github.com/rylans/hackernews-top", "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/rylans/hackernews-top", "keywords": "hn,hackernews,hnapi,hackernews top", "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "hntop", "package_url": "https://pypi.org/project/hntop/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hntop/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rylans/hackernews-top" }, "release_url": "https://pypi.org/project/hntop/0.0.10/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper over HackerNews Firebase API", "version": "0.0.10" }, "last_serial": 2051874, "releases": { "0.0.10": [ { "comment_text": "", "digests": { "md5": "4003fdb1fda97b4ac1e1ff48944c6742", "sha256": "f0b980927588bf3c2f90c1256b08bb9c7913462492dedfe2f468db59fd13ddba" }, "downloads": -1, "filename": "hntop-0.0.10-py2-none-any.whl", "has_sig": false, "md5_digest": "4003fdb1fda97b4ac1e1ff48944c6742", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22807, "upload_time": "2016-04-07T17:43:11", "url": "https://files.pythonhosted.org/packages/4c/3f/1d6f51e2ac83ee8debe2c574f21a08e9c150904b756b7de84669eb391e0f/hntop-0.0.10-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7c741dd3f1388e3db4212dea07b431f", "sha256": "d325d360e67faf78d89011891fec36bf09a9d6039786296130a02e1f49d52b0b" }, "downloads": -1, "filename": "hntop-0.0.10.tar.gz", "has_sig": false, "md5_digest": "e7c741dd3f1388e3db4212dea07b431f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5762, "upload_time": "2016-04-07T17:43:06", "url": "https://files.pythonhosted.org/packages/63/e0/56c09363d6fedf177b3331864e3a9b4341f52067c75d04c39fe580a48041/hntop-0.0.10.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "df54c649d91fe516d4b0fcd74f7683f1", "sha256": "5a18719185564aed6c3c4a906f5b66fdb8bf93389fff605c931f817a17bb9e94" }, "downloads": -1, "filename": "hntop-0.0.5.tar.gz", "has_sig": false, "md5_digest": "df54c649d91fe516d4b0fcd74f7683f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6961, "upload_time": "2016-03-31T20:07:41", "url": "https://files.pythonhosted.org/packages/01/3b/424ce5908f447b89c60e5f3bddd6cacda1ced8b065c1e25a9f91994f493f/hntop-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "ada2df735880272698939dfb22269b86", "sha256": "ef10485348bd2ca12b21ace84d1811d05344ae2a4402f99feda9060e364288b4" }, "downloads": -1, "filename": "hntop-0.0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "ada2df735880272698939dfb22269b86", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 16991, "upload_time": "2016-04-01T16:06:36", "url": "https://files.pythonhosted.org/packages/05/42/fb381b973568cdcd58ef6fa1b3e6ae4236e7570af420f267474d96457c45/hntop-0.0.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1447b76157c464933d78f6b8d3d65faf", "sha256": "6ebbd18f9adf3325812eb6d885dcecc779b6d4b4c66ca121eb1b1609c84843e0" }, "downloads": -1, "filename": "hntop-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1447b76157c464933d78f6b8d3d65faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8806, "upload_time": "2016-04-01T16:06:19", "url": "https://files.pythonhosted.org/packages/9a/19/815c1405aeb85c3c9098a37be3ab66de676ef3e984d05141f349dd611134/hntop-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b195021cbc13ad1de67edb961957c654", "sha256": "031244752c71cff19b3b03c9de32e6185f9c565fdf947c30fceef431da9cdee4" }, "downloads": -1, "filename": "hntop-0.0.7-py2-none-any.whl", "has_sig": false, "md5_digest": "b195021cbc13ad1de67edb961957c654", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15842, "upload_time": "2016-04-01T16:22:20", "url": "https://files.pythonhosted.org/packages/e1/30/6cc023f6d51c630e5d52797baeacfa44251ce15a09a178d9a2e227bf40af/hntop-0.0.7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "221abd824e3b3896aac44baefeb1f22d", "sha256": "0c26bb1d0f758e5a819143c645b4b883f20365a67abad589e2330c16f983b442" }, "downloads": -1, "filename": "hntop-0.0.7.tar.gz", "has_sig": false, "md5_digest": "221abd824e3b3896aac44baefeb1f22d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8135, "upload_time": "2016-04-01T16:21:57", "url": "https://files.pythonhosted.org/packages/9f/ce/e2fdf4c11ecdb46681b2b0fcd2eee1bae0f93637a7abb6fc4286bfe8c569/hntop-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "9cda678853f47ab639687b20fe534a0c", "sha256": "f406fb0859a84e4520ea5a5f1a8606072cd3a984055f2ade2c8bfe1424b0be4b" }, "downloads": -1, "filename": "hntop-0.0.8-py2-none-any.whl", "has_sig": false, "md5_digest": "9cda678853f47ab639687b20fe534a0c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 19957, "upload_time": "2016-04-04T18:06:17", "url": "https://files.pythonhosted.org/packages/97/d5/cfb1d05464f92c25661dc1832f8491c7bcfc6b8882d8053fb7e92c4693fa/hntop-0.0.8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2a8f0d9446236fc195563c1197cdbc80", "sha256": "87e8bb1e8fac13e8d5cf29f2be4a8d6ad2d95f0f263a6ce10a251b2348aeb24c" }, "downloads": -1, "filename": "hntop-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2a8f0d9446236fc195563c1197cdbc80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5613, "upload_time": "2016-04-04T18:05:57", "url": "https://files.pythonhosted.org/packages/19/6d/40e4bf0302d1ce082a7286ce1a715da9ac0ba9c49675530ad7d2867e3471/hntop-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "306a770ad660c44e0396ec60942e8f97", "sha256": "bad57a0e1a094136477e89dc6a4debfef26bf757815c5d033a2e1ce605145e6d" }, "downloads": -1, "filename": "hntop-0.0.9-py2-none-any.whl", "has_sig": false, "md5_digest": "306a770ad660c44e0396ec60942e8f97", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22811, "upload_time": "2016-04-04T21:15:23", "url": "https://files.pythonhosted.org/packages/20/6c/e513ce86c72bea126a161f4579647fbc2207f9deeeefeef46fada199dbba/hntop-0.0.9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3194dbe9ca2d994fb8b37ee555a1964", "sha256": "fb5cfc66d3721436721921c384fee167bd5bfeb92bd6c55bae81d7881c1afb66" }, "downloads": -1, "filename": "hntop-0.0.9.tar.gz", "has_sig": false, "md5_digest": "b3194dbe9ca2d994fb8b37ee555a1964", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5805, "upload_time": "2016-04-04T21:15:08", "url": "https://files.pythonhosted.org/packages/06/06/43c157b36aa23363287fabded7335efd4f4ed4ac3bee3a1bb06f1b806b39/hntop-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4003fdb1fda97b4ac1e1ff48944c6742", "sha256": "f0b980927588bf3c2f90c1256b08bb9c7913462492dedfe2f468db59fd13ddba" }, "downloads": -1, "filename": "hntop-0.0.10-py2-none-any.whl", "has_sig": false, "md5_digest": "4003fdb1fda97b4ac1e1ff48944c6742", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22807, "upload_time": "2016-04-07T17:43:11", "url": "https://files.pythonhosted.org/packages/4c/3f/1d6f51e2ac83ee8debe2c574f21a08e9c150904b756b7de84669eb391e0f/hntop-0.0.10-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7c741dd3f1388e3db4212dea07b431f", "sha256": "d325d360e67faf78d89011891fec36bf09a9d6039786296130a02e1f49d52b0b" }, "downloads": -1, "filename": "hntop-0.0.10.tar.gz", "has_sig": false, "md5_digest": "e7c741dd3f1388e3db4212dea07b431f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5762, "upload_time": "2016-04-07T17:43:06", "url": "https://files.pythonhosted.org/packages/63/e0/56c09363d6fedf177b3331864e3a9b4341f52067c75d04c39fe580a48041/hntop-0.0.10.tar.gz" } ] }