[HN Gopher] Show HN: PHP API Bindings for Open Brewery DB
___________________________________________________________________
Show HN: PHP API Bindings for Open Brewery DB
Howdy! I'm a recent PHP convert after a decade of laughing at PHP
memes on r/programmerhumor, and wanted to dive a bit deeper into
the language by building something practical with it. I also love
beer and decided to combine the two by building a PHP library for
the Open Brewery DB API (https://openbrewerydb.org/). Hope someone
finds it useful!
Author : joeymckenzie
Score : 31 points
Date : 2024-01-26 18:18 UTC (4 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| nrichardson wrote:
| Check OpenBreweryClient.php for comment rot, e.g. references to
| Blizzard and 'game' APIs.
| joeymckenzie wrote:
| Thanks for pointing that out. Definitely some leftover
| copy/pasta from another learning library I was writing for PHP.
| Updated!
| mgkimsal wrote:
| Welcome to PHP! :)
|
| Glad to have you join the community!
| euoia wrote:
| I run and pub and brewery in the east of England that was
| established in 1991. We have lots of breweries around here and
| none of them seem to be on openbrewerydb. I have joined the
| Discord and will see if I can contribute some info.
| chrisjm wrote:
| I look forward to adding it to the dataset. Cheers, euoia!
| askonomm wrote:
| Heck yeah, more PHP things here please!
| baggachipz wrote:
| This looks great!
|
| Is there an open database of beers/ratings similar to Untappd?
| Bar/brewery owners I know hate Untappd because of the exorbitant
| fees they charge.
| joeymckenzie wrote:
| None that I'm personally aware of, Open Brewery DB seems to be
| most complete dataset of breweries I've found out in the wild
| so far though just for breweries.
| munk-a wrote:
| I work extensively in PHP, am rather fond of it, and have built
| out quite a lot of tooling in the language. The reputation it has
| from the early 00s is quite mismatched against its current
| capabilities and I'm glad to see more people picking it up. The
| API you've put together is modern and follows a lot of the best
| practices so thanks for your hard work!
___________________________________________________________________
(page generated 2024-01-26 23:00 UTC)