Files
2026-10-18 11:37:58 +02:00

32 lines
1.3 KiB
Markdown

# ADIF API reverse engineering
## Overview
Python client for the ADIF "El Cano Móvil" API, reverse-engineered from the Android APK. Implements the HMAC-SHA256 request signing and 9 endpoints. Research project; keys come from the public APK.
## Commands
- Dev/demo: `python3 adif_client.py`; `python3 query_api.py`
- Install: `pip install requests`
- Lint: `python3 -m py_compile adif_auth.py adif_client.py query_api.py` (no linter configured)
- Test: none automated. Files in `tests/` are live-API scripts (network, credentials); run manually, not in CI.
- Build: none
## Architecture
- `adif_auth.py`: request signing (`AdifAuthenticator`)
- `adif_client.py`: high-level `AdifClient`
- `query_api.py`: CLI querying helper
- `docs/`: API, auth algorithm and endpoint analysis
- `apk_decompiled/`, `apk_extracted/`, `adif.apk`: reverse-engineering sources; do not edit
## Conventions
Type-hinted Python 3 with `from __future__ import annotations`; `requests` for HTTP.
## Workflow quirks
No `development` branch yet; branch from `main` until created.
## Deployment
None (library/research scripts).
## Gotchas
- `tests/` hit the real ADIF API; failures may be network or API changes, not code.
- Large binary/decompiled dirs: avoid broad greps; scope to the `.py` files and `docs/`.