Skip to content

jamiecuthill/punkbeers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Punk Beers

An exercise for Golang Training using the Punk (Brewdog) API.

https://punkapi.com/documentation/v2

We'll build this as a CLI script using https://github.com/spf13/cobra.

  1. The primary goal of your application is to return the strongest beer by abv you can find in the API. For example I would issue the command in my terminal

     $ punkbeers strongest
    
  2. Return the strongest n beers where n is a user supplied parameter of your application.

     $ punkbeers strongest --n 5
    
  3. Return the strongest beer for a given food pairing, either do the matching yourself or use the food param of the beers api.

     $ punkbeers strongest --food pork
    

About

Example Golang CLI application using the punkapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages