Skip to content

Pavkv/PlayStationStoreDiscountBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

PlayStation Store Discount Bot

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
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

example

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.

(back to top)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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)

Installation

  1. Clone the repo
    git clone https://github.com/Pavkv/PlayStationStoreDiscountBot
  2. Install required packages
    pip install -r requirements.txt
  3. Set up environment variables in .env file
     TELEGRAM_TOKEN=your_telegram_bot_token
     API_KEY=your_platprices_api_key
     DATABASE_URL=your_database_url
  4. Initialize the database
    python init_db.py
  5. Run the bot
     python bot.py

(back to top)

Usage

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.

(back to top)

Scheduled Tasks

The bot automatically checks for discounts on wishlist games every Monday at 13:00 UTC. Ensure the bot is running to receive these notifications.

(back to top)

Logging

The bot logs its operations and errors to PSStoreBot.log. Check this file for troubleshooting and monitoring bot activity.

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Pasha Zobov - Linked In

Project Link: https://github.com/Pavkv/PlayStationStoreDiscountBot

(back to top)

About

A Telegram bot for tracking PlayStation Store game discounts and managing game wishlists.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages