Skip to main content

A simple Python client of Hotpepper API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hotpepper_gourmet-0.0.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

hotpepper_gourmet-0.0.2-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page