TransactionAPI Class

class TransactionAPI(parent)

Bases: FreeAgentBase

The TransactionAPI class

get_transactions(nominal_code, start_date, end_date)

Get transactions for a given category nominal code and date range.

Parameters:
  • nominal_code (str) – The nominal code of the category.

  • start_date (str) – Start date of the date range (YYYY-MM-DD).

  • end_date (str) – End date of the date range (YYYY-MM-DD).

Return type:

list

Returns:

A list of Transaction objects.