Ziel: Untappd-Bewertungen für jedes Bier im Shopify-Shop anzeigen.
Technischer Weg (Untappd API):
Zugang anlegen, Client ID/Secret erhalten; immer eigenen User‑Agent mitsenden. BID (Beer ID) per /v4/search/beer ermitteln.
Bewertung per /v4/beer/info/{BID} abrufen; wichtige Felder: rating_score (Durchschnitt), rating_count (Anzahl).
Ergebnisse cachen (z. B. alle 12–24 Std.), da Rate-Limits (~100 Aufrufe/Stunde) gelten. Attribution an Untappd ist Pflicht; Daten nicht zweckentfremden.
Shopify-Integration (Empfehlungen/Optionen):
Nicht bei jedem Seitenaufruf live gegen die API. Stattdessen über eine Server-/Custom-App abrufen und in Produkt-Metafeldern (zusätzliche Datenfelder) speichern.
Falls die API einfache REST/Basic-Auth unterstützt: Automatisierungen mit Shopify Flow (HTTP Request) möglich; alternativ die App Mechanic für externe API-Tasks.
Für umfassendere Anforderungen: eigene Shopify-App entwickeln.
Hinweise/Material:
Pseudocode (JavaScript/Node) für Suche (BID) und Detailabruf wurde bereitgestellt und ist zentral für die Umsetzung.
Status:
Keine endgültige Lösung bestätigt. Konkreter Leitfaden und Integrationspfade genannt; Umsetzung bleibt offen.
Summarized with AI on December 10.
AI used: gpt-5.
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