Untappd Python CLI client
Add lookup of beers by user with sort and limit options. Move parameters into __callApi so that they pick up from any function
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
Data model complete, see examples.md
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.
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
User lookup and checkin now return proper full objects (bug in child beer and brewery objects)
Check in added, works. Assumes first beer by name search, otherwise search and check in by ID. Need to add venue
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
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
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
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
semi-works as importable module, lookups of beer work and authentication works.