Skip to content

Added undocumented fields, several helper functions#8

Merged
markferry merged 4 commits intomarkferry:masterfrom
fdubut:fd_updates
Mar 26, 2026
Merged

Added undocumented fields, several helper functions#8
markferry merged 4 commits intomarkferry:masterfrom
fdubut:fd_updates

Conversation

@fdubut
Copy link
Copy Markdown
Contributor

@fdubut fdubut commented Mar 12, 2026

  1. I added several fields that are not documented but returned by the AwardWallet API to their respective classes.

  2. I also added some quality-of-life helpers:

  • A new IntEnum for account property kinds.
  • get_account_number that follows the apparent logic of the AwardWallet site.
  • get_account_property to easily access specific properties (based on their kind).
  • A string to ProviderKind converter.
  1. Lastly, I added a handful of tests to cover the new helpers, and all tests are passing.

@markferry markferry merged commit 1647665 into markferry:master Mar 26, 2026
7 checks passed
@markferry
Copy link
Copy Markdown
Owner

Thanks for the PR Frédéric!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants