Quick reference for all Python SDK and CLI commands with direct links to examples
Quick reference for the avocavo Python package
av.login()
OAuth login with secure storage
av.logout()
Clear stored credentials
av.get_current_user()
Get current user info
av.list_api_keys()
List all stored API keys
av.create_api_key()
Create new API key
av.switch_to_api_key()
Switch active API key
av.delete_api_key()
Delete API key
av.analyze_ingredient()
Analyze single ingredient
av.analyze_recipe()
Full recipe with servings
av.analyze()
Alias for ingredient analysis
NutritionAPI()
Direct client with API key
av.search_upc()
Search product by UPC/barcode
av.search_upc_batch()
Batch UPC search (multiple)
client.search_upc()
Direct client UPC search
Quick reference for the avocavo CLI commands
avocavo login
OAuth login (Google)
avocavo logout
avocavo status
Login status & account info
avocavo keys list
List all stored keys
avocavo keys create
avocavo keys switch
avocavo keys delete
Delete stored API key
avocavo ingredient
avocavo recipe
Interactive recipe analysis
avocavo batch
Multiple ingredients from file
avocavo health
Check API health status
avocavo upc
avocavo upc-batch
avocavo upc --verbose
Detailed UPC nutrition info
# Install pip install avocavo # Quick start import avocavo as av av.login() # Ingredient analysis result = av.analyze("1 cup rice") print(result.calories) # UPC search (NEW) product = av.search_upc("041196912395") print(product.product_name)
# Install npm install -g avocavo # Quick start avocavo login avocavo ingredient "1 cup rice" avocavo recipe -s 4 # UPC search (NEW) avocavo upc "041196912395"
Need help? Check out our comprehensive documentation or contact support.