odido.nl aanvullers automated
- python3.9+
- uv (recommended)
- direnv
uv venv
uv pip install -r requirements.txt
direnv allow .- Install Odido official app from AppStore
- Authenticate
- Run
./get_creds_from_cache_db.shIt will create .env file for you with variables neded for the script to work. if you installed direnv and followed Initializing Env you are all set.
If the previous method is unaccessible to you, you can obtain credentials from iMazing backup of your iPhone or iPad.
- Locate Odido.nl app in iMazing
- Export it (in the form of
.imazingapp), rename to .zip, extract all the data and locateCache.db. IfCache.db-walfile is present, it must remain. - Set
CACHE_DIRenv var to the directory containingCache.db - If all set correctly, you will get the same result - credentials written in
.env
Make sure you followed Initializing env. Among other things, direnv should have activated python virtual env for you.
Now, run:
./odido.pyNOTE: you may want the script to be run by cron. In this case, you will also want ODIDO_THRESHOLD env variable
(in megabytes) to be set to some 300-350.
Otherwise the API will return an error: it's only allowed to activate the next aanvuller when around ~350mb is left from the previous one.
Enjoy!