SheinBot is a Telegram bot that allows you to search for products on Shein using keywords. It utilizes the Shein API to fetch product details and provides you with information about the products along with images.
|
|
|
|
- Search for products on Shein using keywords.
- View product details such as title and price.
- See product images and available colors.
To use SheinBot, follow the steps below:
-
Create a Telegram Bot:
- If you don't have a Telegram bot, you can create one by talking to the BotFather on Telegram. Follow these steps:
- Open Telegram and search for "BotFather."
- Start a chat with BotFather and use the
/newbot
command. - BotFather will ask for a name for your bot. Choose a name for your SheinBot (e.g., "MySheinBot").
- BotFather will then ask for a username for your bot. The username must end with "bot" (e.g., "MySheinBot_bot").
- Once your bot is created, BotFather will provide you with a bot token. Save this token; you will need it later.
- If you don't have a Telegram bot, you can create one by talking to the BotFather on Telegram. Follow these steps:
-
Get the Shein API Key:
- To access the Shein API, you need an API key from the RapidAPI platform. Follow these steps:
- Sign up or log in to your RapidAPI account.
- Subscribe to the "Unofficial Shein" API to obtain the API key.
- Save the API key for later use.
- To access the Shein API, you need an API key from the RapidAPI platform. Follow these steps:
-
Clone the Repository:
git clone https://github.com/ghaiith/shein-telegram-bot.git cd shein-telegram-bot
-
Install Dependencies:
pip install -r requirements.txt
-
Configure the Bot:
- Open the
main.py
file and replaceYOUR_TELEGRAM_BOT_TOKEN
with the Telegram bot token obtained from BotFather. - Replace
YOUR_RAPIDAPI_KEY
with the Shein API key obtained from the RapidAPI platform.
- Open the
-
Run the Bot:
python main.py
-
Interact with the Bot:
- Open Telegram and search for your bot's username (e.g.,
@MySheinBot_bot
). - Start a chat with the bot and send it a product keyword to search for products on Shein.
- The bot will provide you with product details, images, and available colors (if any).
- Open Telegram and search for your bot's username (e.g.,
We welcome contributions from the community to make SheinBot even better. To contribute, follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository (
git clone https://github.com/ghaiith/shein-telegram-bot.git
). - Create a new branch for your feature or bug fix (
git checkout -b new-feature
). - Make your changes and commit them (
git commit -m "Add new feature"
). - Push the changes to your forked repository (
git push origin new-feature
). - Open a pull request on the original repository and describe your changes in detail.
This project is licensed under the MIT License.
This Telegram bot is developed using the unofficial Shein API. It is not affiliated with or endorsed by Shein or Telegram. Use it at your own risk.