{ "info": { "author": "Jose Padilla", "author_email": "hello@jpadilla.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Utilities" ], "description": "designer-news |Build Status|\n============================\n\nPython client library for the `Designer News API`_. Inspired by the\nofficial `NodeJS client library`_ by LayerVault.\n\nInstall\n-------\n\nUsing Github:\n\n::\n\n git clone git@github.com:getblimp/blimp-python.git\n\nUsing pip:\n\n::\n\n pip install blimp\n\nUsing easy\\_install:\n\n::\n\n easy_install blimp\n\nUsage\n-----\n\nYou can make authenticated requests in two ways.\n\nUsername and Password\n~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n from designer_news import DesignerNews\n\n\n designer_news = DesignerNews(client_id, client_secret)\n designer_news.authenticate(username, password)\n designer_news.me()\n\nAccess Token\n~~~~~~~~~~~~\n\nThe suggested way for authenticating users in your web applications is\nto use OAuth2. This library does not include an oAuth2 client. `Read\nmore`_.\n\n::\n\n from designer_news import DesignerNews\n\n\n designer_news = DesignerNews(client_id, client_secret, access_token)\n designer_news.me()\n\nAvailable methods\n-----------------\n\nUser\n~~~~\n\n::\n\n designer_news.me()\n\nStories\n~~~~~~~\n\n::\n\n designer_news.stories.get(story_id)\n designer_news.stories.front_page({'page': 1})\n designer_news.stories.recent({'page': 1})\n designer_news.stories.search(search_term')\n designer_news.stories.upvote(story_id)\n designer_news.stories.reply(story_id, comment_message)\n\nComments\n~~~~~~~~\n\n::\n\n designer_news.comments.get(comment_id)\n designer_news.comments.upvote(comment_id)\n designer_news.comments.reply(comment_id, comment_message)\n\nMOTD\n~~~~\n\n::\n\n designer_news.motd()\n designer_news.motd.upvote()\n designer_news.motd.downvote()\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Jos\u00e9 Padilla\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n.. _Designer News API: http://developers.news.layervault.com/\n.. _NodeJS client library: https://github.com/layervault/designer_news_js_client\n.. _Read more: http://developers.news.layervault.com/#authentication-and-requesting-access-tokens\n\n.. |Build Status| image:: https://travis-ci.org/jpadilla/designer-news-python.png?branch=master\n :target: https://travis-ci.org/jpadilla/designer-news-python", "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/jpadilla/designer-news-python", "keywords": "designer news layervault", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "designer-news", "package_url": "https://pypi.org/project/designer-news/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/designer-news/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jpadilla/designer-news-python" }, "release_url": "https://pypi.org/project/designer-news/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python library for the Designer News API", "version": "0.1.0" }, "last_serial": 1012906, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8b34b471c89abf3d19751f4c77431fe9", "sha256": "9576a8db40630a1ba5e6427c98ce849caf4831084c0095bb63dd4e5d9b448940" }, "downloads": -1, "filename": "designer_news-0.1.0-py33-none-any.whl", "has_sig": false, "md5_digest": "8b34b471c89abf3d19751f4c77431fe9", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 6487, "upload_time": "2014-02-26T15:10:30", "url": "https://files.pythonhosted.org/packages/87/a2/0d8d66c260e71a7b2af5432db6b8d306366bc2699e689d09fd2acf74e68a/designer_news-0.1.0-py33-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06b184a7c2883fa257e9c9262c8cd884", "sha256": "7fac4ac1302b1b872500766e807b39a81c5b6e6db83c0a52898f7d53f05137b4" }, "downloads": -1, "filename": "designer-news-0.1.0.tar.gz", "has_sig": false, "md5_digest": "06b184a7c2883fa257e9c9262c8cd884", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7136, "upload_time": "2014-02-26T15:10:21", "url": "https://files.pythonhosted.org/packages/22/67/cb032ef63afe83fe24e021cc501985cf81232c62db5e1a74d7428dc80a41/designer-news-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b34b471c89abf3d19751f4c77431fe9", "sha256": "9576a8db40630a1ba5e6427c98ce849caf4831084c0095bb63dd4e5d9b448940" }, "downloads": -1, "filename": "designer_news-0.1.0-py33-none-any.whl", "has_sig": false, "md5_digest": "8b34b471c89abf3d19751f4c77431fe9", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 6487, "upload_time": "2014-02-26T15:10:30", "url": "https://files.pythonhosted.org/packages/87/a2/0d8d66c260e71a7b2af5432db6b8d306366bc2699e689d09fd2acf74e68a/designer_news-0.1.0-py33-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06b184a7c2883fa257e9c9262c8cd884", "sha256": "7fac4ac1302b1b872500766e807b39a81c5b6e6db83c0a52898f7d53f05137b4" }, "downloads": -1, "filename": "designer-news-0.1.0.tar.gz", "has_sig": false, "md5_digest": "06b184a7c2883fa257e9c9262c8cd884", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7136, "upload_time": "2014-02-26T15:10:21", "url": "https://files.pythonhosted.org/packages/22/67/cb032ef63afe83fe24e021cc501985cf81232c62db5e1a74d7428dc80a41/designer-news-0.1.0.tar.gz" } ] }