Skip to content

zmarkan/BD-IPA-API

Repository files navigation

Brewdog IPA API - an API for BrewDog bars.

Or maybe just an experiment in serverless and making a little ScrAPI. Who knows?

CircleCI

Usage

The service lives at https://api.ipa-api.net/brewdog and has two GET endpoints:

- `/bars` gets you all active Brewdog bars, their urls, and their IDs.
- `/bars/{id}` for the details of a particular Brewdog bar, including location, opening hours and social links
- `/ontap/{id}` for everything on tap today!

Try going to https://api.ipa-api.net/brewdog/ontap/5909 to see what's on tap in Brewdog Shoreditch today!

Dev stuff

There are two components:

  • Serverless service with the three endpoints.
  • A scraper/parser script that retrieves all the bars. Presumably this changes a few times a year only.

Everything is deployed on AWS, mostly following the docs on the Serverless framework.

To deploy, you need the AWS profile and all that. It also uses a custom domain to deploy to.

About

APIs for BrewDog.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published