{ "info": { "author": "Kim jisoo", "author_email": "kim@jisoo.net", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only" ], "description": "## NaverBookQuery\n\nNaverBookQuery can use Naver's book api as orm query type. \nNeed the api key of Naver. \n[NAVER Developers](https://developers.naver.com/main)\n### Install\n```\npip install naver-book-query\n```\n\n### Quickstart\n```python\nfrom naver_book_query import Book, NaverBookQuery\nNaverBookQuery.client_key = 'client key of naver'\nNaverBookQuery.secret_key = 'secret key of naver'\n\nquery = NaverBookQuery()\nbooks = query.filter(title='python').all()\n\nbooks = query.filter(title='python', author='me').all()\n#or\nbooks = query.filter(title='python').filter(author='me').all()\n\nbooks = query.filter(title='python').offset(0).limit(20).all()\n\nbook = query.get('0123456789123') # isbn number\n```\nbook is a dict like this \n{ \n 'title': 'Title of the book.', \n 'link': 'hypertext link of the search result document.', \n 'image': 'The URL of the thumbnail image.', \n 'author': 'Author of the book', \n 'price': 'Price of the book', \n 'discount': 'Discount price of the book', \n 'publisher': 'Publisher of the book', \n 'isbn': 'List of isbn separated by spaces.', \n 'description': 'Summary of the contents of the search result book.', \n} \nbooks is list of dict\n\nif you want to get book class\n```python\nNaverBookQuery.model_cls = Book\nbooks = query.filter(title='python').filter(author='me').all()\nbook = query.get('0123456789123') # isbn number\n```\nbook is instance of Book class \nbooks is list of instance of Book class\n\n#### filter criteria\ntitle : Title of the book \nauthor : Author of the book \ncontent : Table of Contents \nisbn : ISBN number of the book \npublisher : Book publisher \npublish_start : Publication date of the book \npublish_end : Publication end date of the book \n\n###### [More documentation(not yet.)](#)", "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/kjisoo/naver_book_query", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "Naver-Book-Query", "package_url": "https://pypi.org/project/Naver-Book-Query/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Naver-Book-Query/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kjisoo/naver_book_query" }, "release_url": "https://pypi.org/project/Naver-Book-Query/0.9.1/", "requires_dist": null, "requires_python": null, "summary": "Use naver book query like sqlalchemy", "version": "0.9.1" }, "last_serial": 2567238, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "b88abdbfc7ed0482bcd1d94e8b56f5fd", "sha256": "60d1ff70f61bab9526f71f033405f970cf250a796ea4eebf9a45404fc16dc77a" }, "downloads": -1, "filename": "Naver-Book-Query-0.9.0.tar.gz", "has_sig": false, "md5_digest": "b88abdbfc7ed0482bcd1d94e8b56f5fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3301, "upload_time": "2017-01-11T13:34:16", "url": "https://files.pythonhosted.org/packages/ac/1c/aabfd4a86ac4c79d8c2899bfdfc6e0cbf839511dd1ec18fab0367e0f12b3/Naver-Book-Query-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "5503ae997d8bbf588d51b14e374f7f26", "sha256": "b0da4168f46a9f3a3043b48af7410c3baae39ba44e4a525e80f23ab571054eea" }, "downloads": -1, "filename": "Naver-Book-Query-0.9.1.tar.gz", "has_sig": false, "md5_digest": "5503ae997d8bbf588d51b14e374f7f26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3369, "upload_time": "2017-01-11T13:52:21", "url": "https://files.pythonhosted.org/packages/18/d9/f1144f3cc021744022ca092010b36acfaab5cf080ac2d4d791024d06618f/Naver-Book-Query-0.9.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5503ae997d8bbf588d51b14e374f7f26", "sha256": "b0da4168f46a9f3a3043b48af7410c3baae39ba44e4a525e80f23ab571054eea" }, "downloads": -1, "filename": "Naver-Book-Query-0.9.1.tar.gz", "has_sig": false, "md5_digest": "5503ae997d8bbf588d51b14e374f7f26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3369, "upload_time": "2017-01-11T13:52:21", "url": "https://files.pythonhosted.org/packages/18/d9/f1144f3cc021744022ca092010b36acfaab5cf080ac2d4d791024d06618f/Naver-Book-Query-0.9.1.tar.gz" } ] }