Skip to main content

A simple Python SDK around the Lunch Money Developer API

Project description

lunchable

Lunchable Version PyPI Docker Image Version Testing Status GitHub License Documentation Status

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




juftin logo

Project details


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.6.tar.gz (35.3 kB view hashes)

Uploaded Source

Built Distribution

lunchable-0.1.6-py3-none-any.whl (44.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page