hotpepper-gourmet

A simple Python client of Hotpepper API


Keywords
hotpepper, api, client
License
MIT
Install
pip install hotpepper-gourmet==0.0.2

Documentation

hotpepper-gourmet

PyPI version
workflow badge workflow badge

About

ホットペッパーグルメAPIのシンプルなクライアントライブラリです

How To Use

keyidの取得

ホットペッパーグルメAPIに登録し, token(keyid)を取得

サンプルコード

>>> 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サービス