Metadata-Version: 2.1
Name: hotpepper-gourmet
Version: 0.0.2
Summary: A simple Python client of Hotpepper API
Home-page: https://github.com/paperlefthand/hotpepper-gourmet
License: MIT
Keywords: hotpepper,api,client
Author: paperlefthand
Author-email: being.paperlefthand@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: pydantic (>=2.8.2,<3.0.0)
Requires-Dist: requests (>=2.31,<3.0)
Requires-Dist: types-requests (>=2.32.0.20240712,<3.0.0.0)
Project-URL: Repository, https://github.com/paperlefthand/hotpepper-gourmet
Description-Content-Type: text/markdown

# 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/)

