Edent, to Untappd
@Edent@mastodon.social avatar

A bright red beer. For no especial reason 😄
Drinking: Strawberry Sundae
By: Vault City Brewing
At: Ye Olde Mitre
🍺🍺🍺
https://untappd.com/user/edent/checkin/1383025678

Edent, to python
@Edent@mastodon.social avatar

🆕 blog! “Untappd to Mastodon - Updated!”

A few years ago, I wrote some code to post Untappd check-ins to Mastodon. I've recently updated it to also post a photo of the beer you're enjoying. First up, you'll need a file called config.py to hold all your API keys: instance = "https://mastodon.social" access_token = "…" write_access_token = "…" untappd_client_id = "…" untappd_cli…

👀 Read more: https://shkspr.mobi/blog/2024/05/untappd-to-mastodon-updated/

blog, to Untappd
@blog@shkspr.mobi avatar

Untappd to Mastodon - Updated!
https://shkspr.mobi/blog/2024/05/untappd-to-mastodon-updated/

A few years ago, I wrote some code to post Untappd check-ins to Mastodon. I've recently updated it to also post a photo of the beer you're enjoying.

First up, you'll need a file called config.py to hold all your API keys:

instance = "https://mastodon.social"access_token          = "…"write_access_token    = "…"untappd_client_id     = "…"untappd_client_secret = "…"

Then a file called untappd2mastodon.py to do the job of grabbing your data, finding your latest check-in, then posting it to the Fediverse:

#!/usr/bin/env python# -*- coding: utf-8 -*-from mastodon import Mastodonimport jsonimport requestsimport config#  Set up accessmastodon = Mastodon( api_base_url=config.instance, access_token=config.write_access_token )#       Untappd APIuntappd_api_url = 'https://api.untappd.com/v4/user/checkins/edent?client_id=' + config.untappd_client_id + '&client_secret='+ config.untappd_client_secretr = requests.get(untappd_api_url)untappd_data = r.json()#       Latest checkin objectcheckin = untappd_data["response"]["checkins"]["items"][0]untappd_id = checkin["checkin_id"]#       Was this ID the last one we saw?check_file = open("untappd_last", "r")last_id = int( check_file.read() )print("Found " + str(last_id) )check_file.close()if (last_id != untappd_id ) :        print("Found new checkin")        check_file = open("untappd_last", "w")        check_file.write( str(untappd_id) )        check_file.close()        #       Start creating the message        message = ""        if "checkin_comment" in checkin :                message += checkin["checkin_comment"]        if "beer" in checkin :                message += "nDrinking: " + checkin["beer"]["beer_name"]        if "brewery" in checkin :                message += "nBy: "       + checkin["brewery"]["brewery_name"]        if "venue" in checkin :                if "venue_name" in checkin["venue"] :                        message += "nAt: "       + checkin["venue"]["venue_name"]        #       Scores etc        untappd_checkin_url = "https://untappd.com/user/edent/checkin/" + str(untappd_id)        untappd_rating      = checkin["rating_score"]        untappd_score       = "🍺" * int(untappd_rating)        message += "n" +  untappd_score + "n" + untappd_checkin_url + "n" + "#untappd"        #       Get Image        if checkin["media"]["count"] > 0 :                photo_url = checkin["media"]["items"][0]["photo"]["photo_img_lg"]                download = requests.get(photo_url)                with open("untappd.tmp", 'wb') as temp_file:                        temp_file.write(download.content)                media = mastodon.media_post("untappd.tmp", description="A photo of some beer.")                mastodon.status_post(status = message, media_ids=media, idempotency_key = str(untappd_id))        else:                   #       Post to Mastodon. Use idempotency just in case something went wrong                mastodon.status_post(status = message, idempotency_key = str(untappd_id))else :        print("No new checkin")

You can treat this code as being MIT licenced if that makes you happy.

https://shkspr.mobi/blog/2024/05/untappd-to-mastodon-updated/

tastingcraftbeer, to Untappd
@tastingcraftbeer@mastodon.beer avatar

To those of you using apps for keeping track of and rating or reviewing beers: any experience with BeerHive? The UI looks nicer and more useful than Untappd, but the user base (and beer database) is still tiny...
@beersofmastodon

The left two columns are menus, the rest of the canvas are choices for the malty category, similarly sized grids exist for hoppy, fruity, spicy. No yeasty....
Build up of the spider diagram

chm, to Untappd German
@chm@swiss.social avatar

Bei diesen Sommertemperaturen braucht es etwas extra frisches…

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Bruery Smooth Criminal (2014) - English Style barleywine aged in Bourbon barrels - 15%

Aged for 10 years and still delicious!

https://untappd.com/user/G-Nitro/checkin/1368247283

@beersofmastodon

Edent, to Untappd
@Edent@mastodon.social avatar

Tastes pretty much like the with-alcohol version.
Drinking: Nastro Azzurro 0.0 / Zero
By: Birra Peroni
🍺🍺🍺
https://untappd.com/user/edent/checkin/1365187043

gnitro, to beer
@gnitro@urusai.social avatar

Drinking Sapwood Cellar's C.I.T.R.A (C.itra I.s T.ruly R.eally A.wesome) - Hazy DIPA w/ Citra pellets, Citra Cryo, Citra YCH 701, Citra YCH 702, and CItra YCH 301 - 8.2%

Super delicious citra bomb hazy

https://untappd.com/user/G-Nitro/checkin/1364615815

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking Cushwa Brewing's Librarians From Outer Space - NE-Style DIPA - 8.5%

Rare I buy a 4 pack of any hazy now, but this one is super delicious. Dank stone fruit.

https://untappd.com/user/G-Nitro/checkin/1364462845

@beersofmastodon

Edent, to Untappd
@Edent@mastodon.social avatar

Good way to start the weekend!
Drinking: Nico
By: Orbit Beers
At: East Street Tap

https://untappd.com/user/edent/checkin/1361710904

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a KCBC Parrots of the Carribeant - Foreign Export Stout - 6.2%

Roasty crushable stout. Delicious

https://untappd.com/user/G-Nitro/checkin/1356844501

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a New Trail Brewing Frost - Hazy IPA - 6.2%

Creamy, tropical, but needs a bit more to make it great

https://untappd.com/user/G-Nitro/checkin/1356747780

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Frost Beer Works Ponyboy - IPA - 5.5%

Thin, just a basic hazy IPA that does nothing to stand out.

https://untappd.com/user/G-Nitro/checkin/1356695779

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Beer from last night. Drank the new Elder Pine Lord Maris, The Otter - Barleywine - 15.7%

So this beer has been getting major hype, even outside of Maryland. I've seen people calling this beer as having whale quality. Going to be honest here. It's great, but a bit overhyped.

I've liked other Elder Pine barleywines even better than this one, so don't overpay if you chase beer whales.

https://untappd.com/user/G-Nitro/checkin/1355280502


gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Nepenthe Brewing Co. Spontaneous Deviations #5 - Barleywine - 9.3%

My favorite style. Nepenthe does it well here.


gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Waredaca Brewing Company Geedie - Belgian Style Tripel Ale - 9%

Tripel and quads tend to be the only Belgian style beers I like, so I snagged this one when I saw it. This tripel is really good. Hitting the spot right now

https://untappd.com/user/G-Nitro/checkin/1355192360

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a KCBC Barks & Recreation - Double Dry Hopped IPA - 7.2%

It's pretty thin. It's not bad per se, but its disappointing because I've had some great hazy IPAs from this brewery

https://untappd.com/user/G-Nitro/checkin/1355085482

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Mast Landing Brewing Co.Long Distance Runner - West Coast IPA - 6.8%

Really tasty west coast that paired nicely with my pizza for lunch

https://untappd.com/user/G-Nitro/checkin/1354930430

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Silver Branch Branchinator - strong amber lager brewed in the classic Munich tradition to be doubly rich and malty - 8.5%

Malty with a lot of caramel. Perfect choice after work as I celebrate being off the next 10 days!

https://untappd.com/user/G-Nitro/checkin/1354811980

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Went to Peabody Heights Brewery in Baltimore, MD today for another drag show. The show was amazing. So much fun with the queens today.

The beer was overall very good. The base Astrodon Hazy IPA was really good, but all the variants of it were somehow lacking compared to the base. Their Belgian beers on tap happened to be better than their IPAs, and that's unheard of for me lol.

Got a preview of their upcoming arcade space. Definitely keep an eye out for that come March.

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Bruery Birnebon Punch - Bourbon barrel-aged wheatwine-style ale with pear, orange zest, and spices - 15.3%

Pear is really the dominant flavor on this one. Super tasty overall.

https://untappd.com/user/G-Nitro/checkin/1353621385

@beersofmastodon

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Cushwa Brewing Glen - Mixed fermentation Grisette aged in Big Cork Vineyards white wine barrels with Sauvignon Blanc grape must and dry hopped with whole cone Citra - 5%

White wine and citra both come together for a nice flavor on this one.

https://untappd.com/user/G-Nitro/checkin/1353298123

Edent, to Untappd
@Edent@mastodon.social avatar

Doesn't really taste of anything. Bland and inoffensive.
Drinking: Toøl-ator
By: To Øl
🍺
https://untappd.com/user/edent/checkin/1352372060

Edent, to Untappd
@Edent@mastodon.social avatar

NGL, this beer is pretty queer.
Drinking: Death Drop 2: The Deathening
By: Queer Brewing
🍺🍺🍺🍺
https://untappd.com/user/edent/checkin/1352367255

gnitro, to beer
@gnitro@urusai.social avatar

Drinking a Black Flag Brewing ICE - Utilizing 2 Row malt, corn, and rice, BF's first ever malt liquor beer. - 7.5%

Really tasty craft malt liquor. Like revisiting my Olde English or St. Ides days, but better quality.

https://untappd.com/user/G-Nitro/checkin/1352165447

@beersofmastodon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • thenastyranch
  • DreamBathrooms
  • ethstaker
  • InstantRegret
  • Youngstown
  • magazineikmin
  • osvaldo12
  • slotface
  • khanakhh
  • rosin
  • kavyap
  • everett
  • tacticalgear
  • provamag3
  • ngwrru68w68
  • GTA5RPClips
  • cisconetworking
  • mdbf
  • cubers
  • Durango
  • anitta
  • modclub
  • normalnudes
  • tester
  • Leos
  • megavids
  • lostlight
  • All magazines