Made for the TOSTI API
Have you ever wanted to be the first to enjoy a delicious tosti? Are you tired of waiting?
Introducing BERND the Beautified Eating Retrieval Network for Desirable toasties! With BERND, you can order your favorite tostis in seconds and always be the fastest to get your cravings satisfied. Don't wait any longer; experience the future of tosti ordering today!
-
Clone the Repository:
- Run the following command to clone this repository to your local machine:
git clone git@github.com:Shepherd-ITSec/BERND.git
- Run the following command to clone this repository to your local machine:
-
Create a Bot account:
- Go to Oauth Credentials tab in your Tosti account
- Create a new application and add
https://localhost:5000/callback
to the Redirect uris. Please write down your Credentials safely.
-
Insert Your Secrets:
- Add your API secrets from the Tosti website to the configuration file.
- Change the setting to your liking
Node: please keep the polling interval reasonably small to not stress the tosti api.
-
Rename the Configuration Template:
- Rename config.template to config.ini:
mv config.template config.ini
- Rename config.template to config.ini:
-
Execute the Script:
- Start the application shortly before the lunch break using the following command:
python tosti_BERNT.py
- Accept the certificate waring (the tosti API forces us to enter a https redirection website, so we do on the fly https)
- Authenticate your Bot (you may have to login first)
- Start the application shortly before the lunch break using the following command:
-
Enjoy Your Tostis!:
- Sit back, relax, and indulge in delicious tostis!
Please use on own risk All images used are licensed under public license. The TOSTI API is not written or maintained by me.