Start a new topic

How to setup an pull from a platform API

Sorry I have looked around the forum but I know enough about this stuff to be dangerous. I want to get data from the Untappd API it is a beer rating app/site to display our breweries information.


the API documentation is https://api.untappd.com/v4/brewery/info/21859?client_id=OURID&client_secret=OurSecret&compact=true


I am only looking to display "right now" next to a custom made icon our "follower_count":2473


How would one accomplish this?


Some free beers for anyone that can get this info to me? haha


URL above gives an output of:

{"meta":{"code":200,"response_time":{"time":0.038,"measure":"seconds"},"init_time":{"time":0,"measure":"seconds"}},"notifications":[],"response":{"brewery":{"brewery_id":21859,"brewery_name":"Bare Hands Brewery","brewery_slug":"bare-hands-brewery","brewery_page_url":"\/BareHandsBrew","brewery_label":"https:\/\/untappd.akamaized.net\/site\/brewery_logos\/brewery-21859_4225f.jpeg","brewery_label_hd":"https:\/\/untappd.akamaized.net\/site\/brewery_logos_hd\/brewery-21859_522de_hd.jpeg","country_name":"United States","brewery_in_production":0,"is_independent":1,"claimed_status":{"is_claimed":true,"claimed_slug":"BareHandsBrew","follow_status":false,"follower_count":2473,"uid":337459,"mute_status":"none"},"beer_count":136,"contact":{"twitter":"Barehandsbrew","facebook":"http:\/\/www.facebook.com\/barehandsbrewery","instagram":"barehandsbrew","url":"http:\/\/www.barehandsbrewery.com\/"},"brewery_type":"Micro Brewery","brewery_type_id":2,"location":{"brewery_address":"12804 Sandy Court","brewery_city":"Granger","brewery_state":"IN","brewery_lat":41.7603,"brewery_lng":-86.1176},"rating":{"count":71117,"rating_score":3.985},"brewery_description":"Bare Hands Brewery opened in December, 2011 with one simple mission: Handcrafting small batches of incredible beer with the highest quality ingredients. Owned and operated by South Bend native Chris Gerard, all brewing at Bare Hands is done on site in the Granger (South Bend suburb) brewery. Beer is available on 10 rotating taps in the brewpub and limited distribution in Indiana. Bare Hands beers have quickly developed a cult following among local beer geeks; Chris’s preference for clean, well balanced (and often potent) ales show in his wide range of ever-changing styles.","stats":{"total_count":95260,"unique_count":18645,"monthly_count":595,"weekly_count":0,"user_count":0,"age_on_service":3144.752372685185},"owners":{"count":0,"items":[]},"locations":{"count":1,"items":[{"venue":{"venue_id":145779,"venue_name":"Bare Hands Brewery","venue_icon":{"sm":"https:\/\/untappd.akamaized.net\/venuelogos\/venue_145779_11df9997_bg_64.png","md":"https:\/\/untappd.akamaized.net\/venuelogos\/venue_145779_11df9997_bg_88.png","lg":"https:\/\/untappd.akamaized.net\/venuelogos\/venue_145779_11df9997_bg_176.png?v=1"},"is_verified":true}}]}}}}




Woof definitely beyond my scope of knowledge.

Hi!


Thanks for reaching out to us.


You can try to create and host a simple web application such as Indicator app in order to show the information on the LaMetric Time device. 

For example, please follow our tutorials on how to create YouTube Channels Subscribers app and GitHub Followers app for LaMetric. 

We hope this helps.


If you have any other questions please feel free to drop an email to support@lametric.com.  

Login or Signup to post a comment