# hotpepper-gourmet
[![PyPI version](https://badge.fury.io/py/hotpepper-gourmet.svg)](https://badge.fury.io/py/hotpepper-gourmet)
![workflow badge](https://github.com/paperlefthand/hotpepper-gourmet/actions/workflows/build.yml/badge.svg)
![workflow badge](https://github.com/paperlefthand/hotpepper-gourmet/actions/workflows/publish.yml/badge.svg)
## About
[ホットペッパーグルメAPI](https://webservice.recruit.co.jp/doc/hotpepper/reference.html)のシンプルなクライアントライブラリです
## How To Use
### keyidの取得
ホットペッパーグルメAPIに登録し, token(keyid)を取得
### サンプルコード
``` python
>>> from pygourmet import Api, Option
>>> api = Api(keyid=YOUR_KEYID)
>>> option = Option(lat=35.170915, lng=136.8793482, keyword="ラーメン", radius=400, count=3)
>>> results = api.search(option)
>>> len(results)
3
>>> results[0]["name"]
'shop name'
```
___
Powered by [ホットペッパー Webサービス](http://webservice.recruit.co.jp/)
Raw data
{
"_id": null,
"home_page": "https://github.com/paperlefthand/hotpepper-gourmet",
"name": "hotpepper-gourmet",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "hotpepper, api, client",
"author": "paperlefthand",
"author_email": "being.paperlefthand@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f5/19/1d69d135757e6b26232e8d3c307527b43aab28307c038a2ac5fa659dfddc/hotpepper_gourmet-0.0.2.tar.gz",
"platform": null,
"description": "# hotpepper-gourmet\n\n[![PyPI version](https://badge.fury.io/py/hotpepper-gourmet.svg)](https://badge.fury.io/py/hotpepper-gourmet) \n![workflow badge](https://github.com/paperlefthand/hotpepper-gourmet/actions/workflows/build.yml/badge.svg)\n![workflow badge](https://github.com/paperlefthand/hotpepper-gourmet/actions/workflows/publish.yml/badge.svg)\n\n## About\n\n[\u30db\u30c3\u30c8\u30da\u30c3\u30d1\u30fc\u30b0\u30eb\u30e1API](https://webservice.recruit.co.jp/doc/hotpepper/reference.html)\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\n\n## How To Use\n\n### keyid\u306e\u53d6\u5f97\n\n\u30db\u30c3\u30c8\u30da\u30c3\u30d1\u30fc\u30b0\u30eb\u30e1API\u306b\u767b\u9332\u3057, token(keyid)\u3092\u53d6\u5f97\n\n### \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\n\n``` python\n>>> from pygourmet import Api, Option\n>>> api = Api(keyid=YOUR_KEYID)\n>>> option = Option(lat=35.170915, lng=136.8793482, keyword=\"\u30e9\u30fc\u30e1\u30f3\", radius=400, count=3)\n>>> results = api.search(option)\n>>> len(results)\n3\n>>> results[0][\"name\"]\n'shop name'\n```\n\n___\n\nPowered by [\u30db\u30c3\u30c8\u30da\u30c3\u30d1\u30fc Web\u30b5\u30fc\u30d3\u30b9](http://webservice.recruit.co.jp/)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple Python client of Hotpepper API",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/paperlefthand/hotpepper-gourmet",
"Repository": "https://github.com/paperlefthand/hotpepper-gourmet"
},
"split_keywords": [
"hotpepper",
" api",
" client"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f813f665e0450e9c90b41a908397ae65e48a36bd2b0880989626ac7ae895ebd0",
"md5": "9174883af7f02495b570d0aafb7a3f36",
"sha256": "3178f84ce9886c58b4084d1fe5fecb04ebcf836a0f67e3e126df41d2aa01dbff"
},
"downloads": -1,
"filename": "hotpepper_gourmet-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9174883af7f02495b570d0aafb7a3f36",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 5125,
"upload_time": "2024-07-21T09:34:25",
"upload_time_iso_8601": "2024-07-21T09:34:25.643353Z",
"url": "https://files.pythonhosted.org/packages/f8/13/f665e0450e9c90b41a908397ae65e48a36bd2b0880989626ac7ae895ebd0/hotpepper_gourmet-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f5191d69d135757e6b26232e8d3c307527b43aab28307c038a2ac5fa659dfddc",
"md5": "2024db7d985f9accb278ba1e93f3c84e",
"sha256": "6c3b5d22d9e2cdf7b1a74d80f68a306cce05537a70d949d8fcb9978f39a6007e"
},
"downloads": -1,
"filename": "hotpepper_gourmet-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "2024db7d985f9accb278ba1e93f3c84e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 4200,
"upload_time": "2024-07-21T09:34:27",
"upload_time_iso_8601": "2024-07-21T09:34:27.049937Z",
"url": "https://files.pythonhosted.org/packages/f5/19/1d69d135757e6b26232e8d3c307527b43aab28307c038a2ac5fa659dfddc/hotpepper_gourmet-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-21 09:34:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "paperlefthand",
"github_project": "hotpepper-gourmet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hotpepper-gourmet"
}