Skip to main content

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="ラーメン", range=4, count=3)
>>> shops = api.search(option)
>>> len(shops)
3
>>> shops[0].name
'shop name'

非同期版

async def call_search_async():
    shops = await api.search_async(option=option)
    print(len(shops))

loop = asyncio.get_event_loop()
loop.run_until_complete(call_search_async())

Powered by ホットペッパー Webサービス

Release files for hotpepper-gourmet 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hotpepper-gourmet 0.0.5
File Size Uploaded
hotpepper_gourmet-0.0.5.tar.gz 57.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hotpepper-gourmet 0.0.5
File Interpreter ABI Platform
hotpepper_gourmet-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 65.4 kB

Release files / hotpepper_gourmet-0.0.5.tar.gz

Download URL hotpepper_gourmet-0.0.5.tar.gz
Size 57.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d094ee49adc4fe0bb0ebe2423828dd78993b305d6dbac1cc458361239beeaccd
BLAKE2b-256 checksum
How to use checksums
50e04061bd478ee9970a9de2057fb77e2243e1541f60d23a811ffd4e653f3d56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 3, 2025.

Transparency log

Release files / hotpepper_gourmet-0.0.5-py3-none-any.whl

Download URL hotpepper_gourmet-0.0.5-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22a965856b3f7cd4665e36ec787ad8978d424350f65a08c67183b301c628adc0
BLAKE2b-256 checksum
How to use checksums
21006c0cc0cdee681d6cb68fdd58d0d88176bc5a32badc10d07e87d45304959d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 3, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page