commit
fe698e3cd8
3 changed files with 198 additions and 0 deletions
@ -0,0 +1,32 @@ |
|||
# Darktide Shop Notifier |
|||
|
|||
## About |
|||
Notifies available items at shop |
|||
|
|||
|
|||
## Build |
|||
Execute the following to get prerequisites |
|||
``` |
|||
pip3 install -r requirements.txt |
|||
``` |
|||
|
|||
## Preparation |
|||
You will need to obtain the following information ahead of execution: |
|||
- Telegram Webhook URL |
|||
- Atoma Refresh JWT Token |
|||
|
|||
To obtain the necessary information, conduct the following steps: |
|||
Step 1: Login to https://accounts.atoma.cloud/ |
|||
Step 2: Go to developer console and find the request URL (/queue/refresh), and copy the Bearer token (e.g. eyJh....) |
|||
- Go to developer console and click on the Network tab |
|||
- Refresh the page |
|||
- Find the request URL (/queue/refresh) and look for the request header section |
|||
- Copy the Bearer token (e.g. eyJh....) |
|||
Step 3: Register for a Telegram webhook using @WebhookEverythingBot (type /help to see instructions, /register_webhook_body to register token) |
|||
|
|||
|
|||
## Run |
|||
Execute the following to run the Python script |
|||
``` |
|||
python3 main.py |
|||
``` |
File diff suppressed because one or more lines are too long
@ -0,0 +1,2 @@ |
|||
requests |
|||
pyjwt |
Loading…
Reference in new issue