Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergo-code/nike-bot
You can send the bot a link to the product you like, choose the size and subscribe. If the price drops and your size is available, the bot will notify you about it. The bot will also notify if your size runs out.
https://github.com/sergo-code/nike-bot
bot nike postgresql python telegram-bot
Last synced: 3 days ago
JSON representation
You can send the bot a link to the product you like, choose the size and subscribe. If the price drops and your size is available, the bot will notify you about it. The bot will also notify if your size runs out.
- Host: GitHub
- URL: https://github.com/sergo-code/nike-bot
- Owner: sergo-code
- Created: 2022-10-03T12:00:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-13T10:54:00.000Z (about 2 years ago)
- Last Synced: 2024-04-26T13:51:32.510Z (7 months ago)
- Topics: bot, nike, postgresql, python, telegram-bot
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nike Bot
You can send the bot a link to the product you like, choose the size and subscribe.
If the price drops and your size is available, the bot will notify you about it.
The bot will also notify if your size runs out.Example: [@nike_sale_bot](https://t.me/nike_sale_bot)
### Installation
Rename
```
mv .env_pub .env
```Database: install PostgreSQL
Dependencies
```
python3 -m pip install -r requirements.txt
```Creating tables in a database
```
python3 db/db.py
```### Usage
```
python3 bot.py
```
### Admin Tools
Available admin_tg from .env
- Button "🔔 User Information"
- /user (information about subscriptions of the specified user)
- /limit (set the maximum subscription limit for the specified user)