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.3.0.tar.gz (31.6 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.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for awardwallet-0.3.0.tar.gz
Algorithm Hash digest
SHA256 077c762ea77898575e1ee046fbfde3f666f3c09e6fa79b767691781ed2d8507c
MD5 122a12e1f78ae35b06fd82defd0739cd
BLAKE2b-256 da072e6a89e6c6b4173767ff8c94c2e89636d59bb8c788544fa647acc62d28d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awardwallet-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c994656907286dcea3f017fa8f14bf9aad7f4b933bcbc1d78447cd1a8cb7614
MD5 b58876bf770111d532512147be3ab963
BLAKE2b-256 55f9cd9db8c7bf0faa19df4440093e146b7338ee83992c86f0b47897b885f517

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