/pytappd

Untappd Python CLI client

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pytappd

Untappd Python CLI client

History

Version 0.14:

Add lookup of beers by user with sort and limit options. Move parameters into __callApi so that they pick up from any function

Version 0.13:

Start rewriting CLI and action lookup for upcoming interactive CLI. Requires updating how the checkin command will be called, which will result in a v1.0 due to API changes

Version 0.12:

Data model complete, see examples.md

Version 0.11:

Media Class updated and being called from appropriate places

Venue Class stub working, being called from appropriate places.

beer search returns proper brewery subclass info

Do NOT try to call beer.update or brewery.update on your search results, or you'll use up your API limit for the hour.

Added emoji icons to replace lists, dicts, and URLs in the printing.

Version 0.10:

Fill out lots of missing data in the object model for beer, brewery, and user

Change the function calls to default id as well as name and json

Change all calls to beer() and brewery() to set paramaters by name, not order

Fully importable as an object class for other programs: see developer info at bottom of pytappd.py for examples

Check in with: python3 ./src/pytappd.py -b "sierra nevada 3 weight" -t actions -a checkin --shout "From the command line to your phone line" --rating 5 --twitter

Version 0.9:

User lookup and checkin now return proper full objects (bug in child beer and brewery objects)

Version 0.8:

Check in added, works. Assumes first beer by name search, otherwise search and check in by ID. Need to add venue

Version 0.7:

FIRST VERSION THAT WORKS FROM CLI Although you still can't check in. Example:

pytappd.py  -c ../auth.ini -t beer -b "hophazardly" -a search
ID      Name    Style   Brewery Name    Brewery ID      Rating  Rating Count    In Production   Slug    Homebrew?       Created Ratings Score   Stats   Brewery Auth RatingWish List?      Media   Similar Friends Vintages
278991  Hophazardly IPA https://untappd.akamaized.net/site/beer_logos/beer-278991_d8870_sm.jpeg 7.1     0               IPA - American  None    begyle-brewing-hophazardly-ipa     None    Sat, 15 Dec 2012 18:41:36 +0000 None    None    None    None    3.75    False   None    None    None    None

Version 0.6:

Set up the getBeer/getBrewery calls in the dotappd object to return actual proper objects (beer/brewwery), etc. Create beer/brewwery/user.update() to call back to the API and fill in missing data on self. Prep expansion of future functions

Version 0.5:

Fix some bugs using the tool as a module. Get actual searches working and returning valid objects Add example code to use as module at bottom of script

Version 0.4:

rewrite to use logging built-in.
Move online code out of pytappd class into authenticator class.
Rename authenticator to dotappd. Change init of pytappd class to expect json from dotappd only. Dump self-initialization interface Added notes explaining how to use it right now. beer and brewery now initalize properly from dotappd object

Version 0.3:

semi-works as importable module, lookups of beer work and authentication works.