Here is a small tool I made during lockdown because I really missed going out.
It uses Python3
It uses Figlet | Toilet | Lolcat
tested on mac.
Will probably work on Ubuntu and Raspbian
I should write a proper requirements.txt ..........
Here are some more endpoints for the api to make more options within the tool
Search cocktail by name https://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita
List all cocktails by first letter https://www.thecocktaildb.com/api/json/v1/1/search.php?f=a
Search ingredient by name https://www.thecocktaildb.com/api/json/v1/1/search.php?i=vodka
Lookup full cocktail details by id https://www.thecocktaildb.com/api/json/v1/1/lookup.php?i=11007
Lookup ingredient by ID https://www.thecocktaildb.com/api/json/v1/1/lookup.php?iid=552
Lookup a random cocktail https://www.thecocktaildb.com/api/json/v1/1/random.php
Lookup a selection of 10 random cocktails (only available to $2+ Patreon supporters) https://www.thecocktaildb.com/api/json/v1/1/randomselection.php
List Popular cocktails (only available to $2+ Patreon supporters) https://www.thecocktaildb.com/api/json/v1/1/popular.php
List most latest cocktails (only available to $2+ Patreon supporters) https://www.thecocktaildb.com/api/json/v1/1/latest.php
Search by ingredient https://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Gin https://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Vodka
Filter by multi-ingredient (only available to $2+ Patreon supporters) https://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Dry_Vermouth,Gin,Anis
Filter by alcoholic https://www.thecocktaildb.com/api/json/v1/1/filter.php?a=Alcoholic https://www.thecocktaildb.com/api/json/v1/1/filter.php?a=Non_Alcoholic
Filter by Category https://www.thecocktaildb.com/api/json/v1/1/filter.php?c=Ordinary_Drink https://www.thecocktaildb.com/api/json/v1/1/filter.php?c=Cocktail
Filter by Glass https://www.thecocktaildb.com/api/json/v1/1/filter.php?g=Cocktail_glass https://www.thecocktaildb.com/api/json/v1/1/filter.php?g=Champagne_flute
List the categories, glasses, ingredients or alcoholic filters https://www.thecocktaildb.com/api/json/v1/1/list.php?c=list https://www.thecocktaildb.com/api/json/v1/1/list.php?g=list https://www.thecocktaildb.com/api/json/v1/1/list.php?i=list https://www.thecocktaildb.com/api/json/v1/1/list.php?a=list