Feat(shop-checker): First commit
This commit is contained in:
32
README.md
Normal file
32
README.md
Normal file
@@ -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
|
||||
```
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
requests
|
||||
pyjwt
|
||||
Reference in New Issue
Block a user