A simple Python SDK around the Lunch Money Developer API
Project description
lunchable
lunchable is a Python Client for the Lunch Money Developer API. It's built on top of pydantic, it offers an intuitive API, a simple CLI, complete coverage of all endpoints, and plugins to other external services.
Installation
pip install lunchable
Usage
from typing import Any, Dict, List
from lunchable import LunchMoney
from lunchable.models import TransactionObject
lunch = LunchMoney(access_token="xxxxxxxxxxx")
transactions: List[TransactionObject] = lunch.get_transactions()
first_transaction: TransactionObject = transactions[0]
transaction_as_dict: Dict[str, Any] = first_transaction.dict()
export LUNCHMONEY_ACCESS_TOKEN="xxxxxxxxxxx"
lunchable transactions get --limit 5
lunchable http -X GET https://dev.lunchmoney.app/v1/assets
Check out the Docs
Looking to contribute? See the Contributing Guide
See the Changelog
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lunchable-0.3.1.tar.gz
(39.0 kB
view hashes)
Built Distribution
lunchable-0.3.1-py3-none-any.whl
(50.7 kB
view hashes)
Close
Hashes for lunchable-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b8347ec0155ed25acb2a3e8f4a00fa63fc1adc779c0187a35d37f2f02af2c5 |
|
MD5 | 1ee1915f1b2e6d06795f90c731855d62 |
|
BLAKE2b-256 | da2abe578ea1512e82f0ab8d6a47404bcfe6e8468f895729a530b4e0f1b86562 |