Check if a user has had a beer (from the cache)
untappd_cache_has_hadCheck whether a user has ever had a beer using cached check-ins and distinct-beers data—no API call. Match by beer ID or name substring and return count, rating, last date, sources, and favorites.
Instructions
Answer "has this user ever checked in this beer?" from the cache only — NO API call. Consults BOTH cached sources (check-ins and the distinct-beers list); a hit in either counts as had. Match by exact bid or a case-insensitive substring of the beer name. Returns whether they had it, the times-had count, best rating, last date, which sources matched, any detailed check-ins, and favorite {is_favorite, sources, reason} (rated ≥4.25 / had ≥3 times, or added with untappd_favorite_add). Reports per-source freshness so you can caveat incomplete data. Requires bid or beer_name. Run untappd_sync_user_beers first for full coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bid | No | Exact Untappd beer id to look for | |
| username | No | Untappd username. Omit to use your own configured account (UNTAPPD_USERNAME). | |
| beer_name | No | Case-insensitive substring match on the beer name |