ich betreibe einen Craft Beer Online-Shop und möchte für jedes angebotene Bier die Bewertung von Untappd anzeigen lassen. Untappd ist eine Art Bierbewertungsportal und hat eine API. Wie kann ich diese Api nun nutzen, um jede Bierbewertung anzeigen zu lassen?
Sign up for an Untappd developer account — you’ll receive a Client ID and Client Secret. Untappd+1
In your app, always send a custom User-Agent (e.g. your shop name + client id), not a standard UA. Untappd
Find the correct beer in Untappd (get its BID)
Use the “beer search” endpoint: /v4/search/beer?q=<brewery name + beer name>&client_id=..&client_secret=.. to search for each beer. Untappd+1
Extract from the JSON response the correct “beer id” (BID) that matches your beer.
Fetch beer info (including rating)
Then call endpoint /v4/beer/info/BID?client_id=..&client_secret=.. (optionally with compact=true) to get details. Untappd
The response JSON includes the global rating (average score), rating count, maybe media — use those to show “Untappd-Rating: X / 5 (Y ratings)”.
Cache the result — don’t call on every page load
The public API is rate-limited (e.g. ~100 calls/hour per key) Untappd+1
So: for your online shop, fetch and store (cache) the rating data periodically (e.g. once per day or per few hours) instead of on each user request.
Respect the Terms of Use
You must display attribution to Untappd when showing their data. Untappd+1
You should not use the data to build a separate “beer-database” or analytics for third parties; only show the rating as part of a beer listing. Untappd
Hi @BeerBellyCologn implementing third party apis is waaay beyond the scope of the forums and will just get a ton of bot “AI” posts that can be misleading.
Unless the api can do authenticated public requests you will need to either make a custom app to fetch the data and put in shopify, such as in product metafields.
Or if the api does basic-auth REST possibly it could be done with shopify-flow to get and set the data; or more advanced app like mechanic.
If you need consulting or to build this you can reach out to me for services in custom apps and automations. CLICK my profile-pic or visit my profile on the forums ALWAYS include context in new communications, e.g. reference urls, posts urls, etc