A simple Python client of Hotpepper API
Project description
hotpepper-gourmet
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hotpepper_gourmet-0.0.2.tar.gz
.
File metadata
- Download URL: hotpepper_gourmet-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3b5d22d9e2cdf7b1a74d80f68a306cce05537a70d949d8fcb9978f39a6007e |
|
MD5 | 2024db7d985f9accb278ba1e93f3c84e |
|
BLAKE2b-256 | f5191d69d135757e6b26232e8d3c307527b43aab28307c038a2ac5fa659dfddc |
File details
Details for the file hotpepper_gourmet-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: hotpepper_gourmet-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3178f84ce9886c58b4084d1fe5fecb04ebcf836a0f67e3e126df41d2aa01dbff |
|
MD5 | 9174883af7f02495b570d0aafb7a3f36 |
|
BLAKE2b-256 | f813f665e0450e9c90b41a908397ae65e48a36bd2b0880989626ac7ae895ebd0 |