Skip to content

apfohl/punkapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PunkAPI

This is a client to access data from the PunkAPI.

Prerequisites

Compilation

For development builds:

$ make

For release builds:

$ make release

Usage

$ ./punkapi [options]

Without any options punkapi will return a list of 25 beers.

Options:

  • -r Return a random beer
  • -p <page> Return the given page of beers
  • -i <items> Set the number of beers per page
  • -k Use insecure connection