1.3 KiB
1.3 KiB
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-levelAdifClientquery_api.py: CLI querying helperdocs/: API, auth algorithm and endpoint analysisapk_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
.pyfiles anddocs/.