{ "info": { "author": "Jos\u00e9 Antonio Gonz\u00e1lez", "author_email": "antonio@proversity.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python" ], "description": " [![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://proversity.org)\n\n# Bibblio API Python\nPython wrapper of Bibblio API\n\nRegister in [Bibblio](bibblio.org) and get your CLIENT_ID and CLIENT_SECRET\n\n## Install\n```pip install bibbliothon```\n\n## Configuration\n```python\nimport bibbliothon\n```\n\nset client_id and client_secret\n\n```python\nbibbliothon.client_id = 'YOUR_CLIENT_ID'\n```\n\n```python\nbibbliothon.client_secret = 'YOUR_CLIENT_SECRET'\n```\n\nget access_token\n\n```python\nbibbliothon.access_token = bibblio.Token.get_access_token()['access_token']\n```\n\n* the access token has a duration of 5 minutes, remember to update it.\n\n## Usage\n\nFor more information use [Bibblio API Documentation](http://docs.bibblio.apiary.io/)\n* payload is always a dict\n* limit and page are optional and integers\n* text is a string\n* content_item_id is a string\n\n### Discovery\n\n```python\nresponse = bibbliothon.Discovery.content_recommendations(content_item_id)\n```\n\n```python (Legacy)\nresponse = bibbliothon.Discovery.recommendations(payload)\n```\n\n### Enrichment\n\n```python\nresponse = bibbliothon.Enrichment.create_content_item(payload)\n```\n\n```python\nresponse = bibbliothon.Enrichment.get_content_items(limit=10, page=1)\n```\n\n```python\nresponse = bibbliothon.Enrichment.get_content_item(content_item_id)\n```\n\n```python\nresponse = bibbliothon.Enrichment.update_content_item(content_item_id, payload)\n```\n\n```python\nresponse = bibbliothon.Enrichment.delete_content_item(content_item_id)\n```\n\n```python (Legacy)\nresponse = bibbliothon.Enrichment.metadata(text)\n```\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/proversity-org/bibblio-api-python", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "bibbliothon", "package_url": "https://pypi.org/project/bibbliothon/", "platform": "", "project_url": "https://pypi.org/project/bibbliothon/", "project_urls": { "Homepage": "https://github.com/proversity-org/bibblio-api-python" }, "release_url": "https://pypi.org/project/bibbliothon/1.2.0/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Python wrapper for Bibblio API.", "version": "1.2.0" }, "last_serial": 2898432, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "76cbaf759b5f1238816d14ab9f3d2d65", "sha256": "80fdca8dd6b87b222997acbbc4776cabe11e362b40bd145142dae15b9c742957" }, "downloads": -1, "filename": "bibbliothon-1.0.1.tar.gz", "has_sig": false, "md5_digest": "76cbaf759b5f1238816d14ab9f3d2d65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3281, "upload_time": "2016-04-16T16:22:47", "url": "https://files.pythonhosted.org/packages/29/a0/ebae30c58c3a4082cf501387acc46178c1832a200d138b7be0df887b068e/bibbliothon-1.0.1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9e949b9946837ae7f0fcf13f2c017c7d", "sha256": "7ff6d09468f7ad010eac71d015e9830e84263b5f0ff84a4ac58c0875533372e5" }, "downloads": -1, "filename": "bibbliothon-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9e949b9946837ae7f0fcf13f2c017c7d", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6366, "upload_time": "2016-04-25T15:38:08", "url": "https://files.pythonhosted.org/packages/40/f6/606231b9f5a6933721a83de38c93a250c819835856cd635ed99ea98fc317/bibbliothon-1.0.1-py2-none-any.whl" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "64d4649bc3d3652f34d772627e049e58", "sha256": "a4a96399a29a10c11ff503990df7a913ab8cdaffd2797a3c66de96a6c812db26" }, "downloads": -1, "filename": "bibbliothon-1.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "64d4649bc3d3652f34d772627e049e58", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6654, "upload_time": "2016-08-08T14:47:23", "url": "https://files.pythonhosted.org/packages/20/91/343cb3c7f20407cdb590e83ce8601bbb5919fc60e08cbfc1b8fcb02e3adf/bibbliothon-1.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "209ad14315879f086aa727af3b860017", "sha256": "15a699c872cc5e0caef854cc04b40339d9dae14fe74c9c0f6144da191568c8b7" }, "downloads": -1, "filename": "bibbliothon-1.1.0.tar.gz", "has_sig": false, "md5_digest": "209ad14315879f086aa727af3b860017", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3531, "upload_time": "2016-08-08T14:47:25", "url": "https://files.pythonhosted.org/packages/71/b1/db42b3b5f0863507a1c9d809aff6f176175910368a6ba766938044d5f999/bibbliothon-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "62876b8c0af85267c6ff82b742ba6da3", "sha256": "09d77ed99bed80892769c55d2505f4fcc8dbd8a4dbbe4177f9c2c78bf86f1f3f" }, "downloads": -1, "filename": "bibbliothon-1.1.1.tar.gz", "has_sig": false, "md5_digest": "62876b8c0af85267c6ff82b742ba6da3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3552, "upload_time": "2016-10-11T10:14:49", "url": "https://files.pythonhosted.org/packages/cf/eb/5d8c5d68a3d6a547be543788fcf58668e3e80152346ecc81225bc145829d/bibbliothon-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "4c145719974fe7c0bf2242292d9e37f3", "sha256": "6ed9b584fb0e404309f9faeb3e66ddc289790574440fbc0760d7d4d0cdf15a71" }, "downloads": -1, "filename": "bibbliothon-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "4c145719974fe7c0bf2242292d9e37f3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6658, "upload_time": "2017-05-25T16:14:47", "url": "https://files.pythonhosted.org/packages/ce/6c/f9bbf8c5a873991c45d40eefc6aadcbc22016e291372588f88cbb7d431c1/bibbliothon-1.2.0-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c145719974fe7c0bf2242292d9e37f3", "sha256": "6ed9b584fb0e404309f9faeb3e66ddc289790574440fbc0760d7d4d0cdf15a71" }, "downloads": -1, "filename": "bibbliothon-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "4c145719974fe7c0bf2242292d9e37f3", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6658, "upload_time": "2017-05-25T16:14:47", "url": "https://files.pythonhosted.org/packages/ce/6c/f9bbf8c5a873991c45d40eefc6aadcbc22016e291372588f88cbb7d431c1/bibbliothon-1.2.0-py2-none-any.whl" } ] }