Skip to content

markferry/awardwallet

Repository files navigation

CI Coverage PyPI License

awardwallet

AwardWallet Account Access API wrapper

Import loyalty point transactions from AwardWallet using their Account Access API.

As of 2025 AwardWallet integrates over 460 airline, hotel, shopping and other loyalty programmes.

Source https://github.com/markferry/awardwallet
PyPI pip install awardwallet
Releases https://github.com/markferry/awardwallet/releases

Setup

Follow the instructions in the API documentation to register for a free Business account and create an API key.

The API key is restricted to the allowed IP addresses you specify in the Business interface API Settings.

Usage

import json

from awardwallet import AwardWalletClient
from awardwallet.model import ProviderInfo

api_key = "your_api_key_here"
client = AwardWalletClient(api_key)

pl = client.list_providers()
pll = [ProviderInfo.model_validate(item) for item in pl]

for p in pl:
  print(f"{p.code}\t{p.display_name}\t{p.kind.name}")

Alternatively use the built-in tool:

awardwallet --api-key $your_api_key_here list-providers

About

AwardWallet API wrapper

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors