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, plugins to other external services, and extensive test coverage.
Installation
pip install lunchable
Usage
from typing import List
from lunchable import LunchMoney
from lunchable.models import TransactionObject
lunch = LunchMoney(access_token="xxxxxxxxxxx")
transactions: List[TransactionObject] = lunch.get_transactions(limit=5)
first_transaction: TransactionObject = transactions[0]
transaction_as_dict: dict = first_transaction.dict()
export LUNCHMONEY_ACCESS_TOKEN="xxxxxxxxxxx"
lunchable transactions get --limit 5
Check out the ReadTheDocs
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.1.9.tar.gz
(35.4 kB
view hashes)
Built Distribution
lunchable-0.1.9-py3-none-any.whl
(44.8 kB
view hashes)
Close
Hashes for lunchable-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e68d4c03d3533e4c23a3def6566263b829fcec6d5ebb8378b08473b5fe68c58 |
|
MD5 | d3c7a9af38f010cfc1f7b9b38eac5f47 |
|
BLAKE2b-256 | 7a30905b6c37dac613f7a8b0f2a52bb3f4d2aa298cb8c9a6d8da56db69d8eae9 |