https://github.com/ink-splatters/odido-aap
odido.nl aanvullers
https://github.com/ink-splatters/odido-aap
Last synced: 5 months ago
JSON representation
odido.nl aanvullers
- Host: GitHub
- URL: https://github.com/ink-splatters/odido-aap
- Owner: ink-splatters
- License: mit
- Created: 2024-02-05T07:52:15.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-11T13:04:04.000Z (7 months ago)
- Last Synced: 2024-11-14T12:28:51.514Z (7 months ago)
- Language: Python
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# odido aap
odido.nl aanvullers automated
## Installation
assuming Python is installed
```sh
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```## Usage
```sh
source .venv/bin/activate
./odido.py
```**NOTE:** 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.## Getting Bearer Token
**NOTE**: this is only supported on Apple Silicon and requires authenticated Odido iOS app.
Consult [tweakers.net](https://tweakers.net) for more methods to obtain the token```sh
./get_bearer_apple_silicon.sh
```Enjoy!
## Credits
[Romkabouter430](https://tweakers.net/gallery/2749)