Up Bank Api Versions Save

💎 Fully typed Python client for (a)sync interaction with Up's banking API

1.1.0

2 years ago

âš¡ Features

  • Deserialize the rate limit header (ebbfc0d)
    • You can now check how many requests you have left with client.rate_limit.remaining, the limit appears to be 1000/h.

Fixes

  • Fix transaction.categorize() always setting the category to None (82be09c)
  • Fix conversion of tag to id (2260f53)
  • Fix incorrectly typed *tags parameter (a6bbb0a)
  • Fix JSONDecodeError with 204 responses (afc6ec6) (closes #4)

Full Changelog: https://github.com/jcwillox/up-bank-api/compare/1.0.1...1.1.0

1.0.1

2 years ago
  • Avoid overriding session headers (b6ee42e)

Full Changelog: https://github.com/jcwillox/up-bank-api/compare/1.0.0...1.0.1

1.0.0

2 years ago

This is a major release and the first official production release. I've kept breaking changes to a minimum however most of the core has been rewritten so there will be breaking changes for some users. I've also published a docs site.

🚨 Breaking Changes

  • Replaced transaction.format_desc() with the property transaction.long_description
  • Replaced ModelBase.raw with ModelBase._raw_response
  • Various methods has their properties reordered and some properties are now explility keyword args
  • WebhookLog.response_code and WebhookLog.response_body merged into WebhookLog.response object
  • Renamed WebhookLog.delivery_status to WebhookLog.status
  • Methods that returned an empty dict (or really a 204 response) now return True
  • Parameter for transactions() was renamed from account_id to account and is now the first positional argument
  • Replaced PaginatedList.count with PaginatedList.__len__ so it can now be used as len(paginated_accounts)
  • PaginatedList was refactored into models and the import path has changed
  • Replaced some global constants with enums AccountType and TransactionStatus
  • Replaced webhook_id with webhook for ping, logs and delete methods

âš¡ Features

  • Created a docs site, examples and code reference are available over there.
  • Full API support (we now deserialise everything the API provides)
    • Added support for categories
    • Added support for tags
    • Added missing fields e.g. ownership_type, hold_info, round_up, cashback, card_purchase_method.
    • Added enums
  • Asynchronous Client Support
  • Improved internal documentation
  • Fields that previously required an id as a string now also accept their corresponding objects and will extract the id automatically.
  • Maintainability has also been considerably improved by adding workflows, tests, and rewriting/reorganising the codebase.

Full Changelog: https://github.com/jcwillox/up-bank-api/compare/0.3.2...1.0.0

0.3.2

3 years ago
  • Fix error with type defs (9254ec6)

0.3.1

3 years ago
  • Update pypi setup files (3d2e8aa)
  • Update function definitions (c8a485e)

0.3.0

3 years ago

Changes

  • Add support for pagination (b0ae38f)
  • Add support for deserializing errors from the Up API (bc11b46)
  • Add new transaction filters (ad000e8)
  • Update examples to include pagination (9daac66)

Fixes

  • Fix datetime formatting for filters (1700c19)
  • Fix typo in filters (52dc740)

0.2.0

3 years ago
  • Added full support for webhooks
  • Added more examples
  • Structured and improved the examples

0.1.1

3 years ago
  • Update PyPI setup files
  • Fix environment variable

0.1.0

3 years ago

Initial Release!