limx0 / lunchable

Python Client for the Lunch Money Developer API

Home Page:https://juftin.com/lunchable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lunchable

Lunchable Version PyPI Docker Image Version Testing Status GitHub License

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




juftin logo

About

Python Client for the Lunch Money Developer API

https://juftin.com/lunchable/

License:MIT License


Languages

Language:Python 99.0%Language:JavaScript 0.7%Language:Dockerfile 0.3%