You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sweet! and thank you! I will check that out. If you ever need it, there's a still undocumented app helper class in the plugins:
"""Lunchable App Demo"""importloggingfromtypingimportDict, Listfromlunchable.modelsimportPlaidAccountObject, TransactionObjectfromlunchable.pluginsimportLunchableTransactionsAppfromlunchable.plugins.base.base_appimportLunchableDataContainerlogging.basicConfig(level=logging.DEBUG)
# get the app, cache time defaults to 0 which does not use local storage cacheapp=LunchableTransactionsApp(cache_time=0)
# Get the latest data from the API for all resources, all timeapp.get_latest_cache()
# Access the app data containerapp_data: LunchableDataContainer=app.lunch_data# Data is stored in a dictionary with the key being the resource idtransactions: Dict[int, TransactionObject] =app_data.transactions# Access transactions by id, or get all transactions with `.values()`all_transactions: List[TransactionObject] =list(transactions.values())
# Refresh just the PlaidAccountObject dataapp.get_latest_cache(include=[PlaidAccountObject])
all_accounts: List[PlaidAccountObject] =list(app.lunch_data.plaid_accounts.values())
Not an issue, just wanted to say thank you!!
Planning to use this in my venmo-auto-cashout tool
The text was updated successfully, but these errors were encountered: