Skip to main content

AwardWallet business API wrapper

Project description

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

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

awardwallet-0.2.0.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awardwallet-0.2.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file awardwallet-0.2.0.tar.gz.

File metadata

  • Download URL: awardwallet-0.2.0.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for awardwallet-0.2.0.tar.gz
Algorithm Hash digest
SHA256 66f324c3f22948dc8e9230e86c7234ddcdb384e05c8210f184f41fc40c6dd098
MD5 d580b5c28cbc20bb2a5723f66199d6e0
BLAKE2b-256 baa2659fe77333793cfd19b26f62df2e95adb04cd3750140780e2af122e7d7db

See more details on using hashes here.

File details

Details for the file awardwallet-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: awardwallet-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for awardwallet-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a47e974ba6aa132ad12f9e1fc7df0f7360e34f3323ebdf4a0b5d84bbc8a1839
MD5 05e86ff5e372d943582ee4e8d37e61ab
BLAKE2b-256 facdc2255f53478aa1ac1720ca56154f892cc107c1bf16add67302a90c9be193

See more details on using hashes here.

Supported by

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