A Telegram bot for tracking PlayStation Store game discounts and managing game wishlists.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
The PS Store Bot is a Telegram bot designed to help users keep track of PlayStation Store game discounts, manage their wishlist of games, and receive updates on price changes. It leverages the PlatPrices API for real-time data on game prices and discounts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This is an example of how to list things you need to use the software and how to install them.
- Python 3.6+
- SQLite3
- A Telegram bot token (You can get one through BotFather on Telegram)
- A PlatPrices API key (You can get one by signing up on the Plat Prices website)
- Clone the repo
git clone https://github.com/Pavkv/PlayStationStoreDiscountBot
- Install required packages
pip install -r requirements.txt
- Set up environment variables in
.envfileTELEGRAM_TOKEN=your_telegram_bot_token API_KEY=your_platprices_api_key DATABASE_URL=your_database_url
- Initialize the database
python init_db.py
- Run the bot
python bot.py
After starting the bot, you can interact with it on Telegram:
- Send /start to begin interacting with the bot.
- Follow the prompts to add games to your wishlist, delete games, or check for current discounts.
The bot automatically checks for discounts on wishlist games every Monday at 13:00 UTC. Ensure the bot is running to receive these notifications.
The bot logs its operations and errors to PSStoreBot.log. Check this file for troubleshooting and monitoring bot activity.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Pasha Zobov - Linked In
Project Link: https://github.com/Pavkv/PlayStationStoreDiscountBot
