american-airlines

Featured

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code entry. Uses persistent browser profiles to skip 2FA on subsequent runs.

AI & Automation 600 stars 56 forks Updated today MIT

Install

View on GitHub

Quality Score: 98/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# American Airlines AAdvantage Check AAdvantage award miles balance, elite status (Gold/Platinum/Platinum Pro/Executive Platinum), loyalty points, and million miler status. Uses Patchright (undetected Playwright fork) because AA blocks standard browser automation. **Requires Patchright.** AA.com blocks vanilla Playwright and agent-browser. ## Prerequisites ```bash pip install patchright && patchright install chromium ``` Or use Docker (no local install needed): ```bash docker pull ghcr.io/borski/aa-miles-check:latest # or build locally: docker build -t aa-check skills/american-airlines/ ``` ## Usage Pass credentials via environment variables or flags. If you use a secrets manager (1Password, Vault, etc.), inject them however you normally would. ```bash # Environment variables AA_USERNAME=your_aa_number AA_PASSWORD=your_password \ python3 scripts/check_balance.py --json # Flags python3 scripts/check_balance.py --username YOUR_AA_NUMBER --password YOUR_PASSWORD --json # Docker docker run --rm -e AA_USERNAME=your_aa_number -e AA_PASSWORD=your_password aa-check --json ``` ## 2FA Handling AA requires email verification on first login from a new device. The script waits up to 120 seconds for the code. **You (the agent) do NOT have access to the user's email.** AA sends the 2FA code to the account holder's email address. When the script hits 2FA, you **MUST ask the user** for the 6-digit code. This is not optional. Do not try to read their email. Do not guess. Do not ...

Details

Author
borski
Repository
borski/travel-hacking-toolkit
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category