This is a Python project that can search for Pokemon from the official website and SQLite database. In addition, the project also provides LINE Bot functionality, which can enter Chinese
|| English
|| Japanese
Pokemon name and return related Flex messages.
heal
: Health checktop
: Find the most used Pokemon in doublesvgc
: Find team information自爆磁怪
||ジバコイル
||Magnezone
: Manually enter the name of the Pokemon you want to find and find its individual value- [
屬性
,type
,タイプ
]: Attribute restraint table find Magnezone
: Find battle detailsshow
: Pokemon Showdown websiteshow name
: Battle record on Pokemon Showdown
Before you start using the project, you need to make sure you have installed the following tools and packages:
- Python 3.6 or above
- pip
- LINE 7.13
mv .env.sample .env // fill the LINE_CHANNEL_ACCESS_TOKEN and LINE_CHANNEL_SECRET
pip3 install -r requirements.txt
python3 main.py
- API_ENV=develop
- develop -> reload
- LINE_CHANNEL_ACCESS_TOKEN=
- LINE_CHANNEL_SECRET=
- LINE Bot Key
- SERIES=gen9vgc2023series1
- Pokemon season, find the season from here
- Open the first terminal
ngrok http 8080
- Open another terminal
sh change_bot_url.sh LINE_BOT_TOKEN https://NGROK_URL/webhooks/line
curl http://localhost:5000/
gcloud run deploy nijia-cloud-run-example-1 --source .
The following three secrets need to be set in the project:
Path: Project > Settings > Left side Secrets and Variables > Actions > Repository secrets
- SERVICE_URI: Periodic check season use, GCP || Other deployed Domain + /season
- LINE_ADMIN: Who to push to which administrator
- LINE_CHANNEL_ACCESS_TOKEN: Chatbot key
Thank you for your interest in participating in our project development!
The following are the steps to participate in development and submit a Pull Request:
Click "Fork" in the upper right corner of the project page to copy this project to your account.
In your GitHub project, click "Clone or download" and copy the URL of the project. Then execute the following command in the terminal:
git clone https://github.com/louis70109/find-your-pokemon.git
Install the necessary packages in your local environment
pip install -r requirements.txt
Create a new branch before modifying the code
git checkout -b my_new_feature
Make modifications in your local development environment
Start editing with your familiar editor or IDE.
When you have finished editing and are sure that the modified code is error-free, use the following command to submit your modifications:
git add .
git commit -m "Add my feature"
Use the following command to push your branch to GitHub:
git push origin my-feature
After pushing your branch to your GitHub account, please click "Compare & pull request" on the project page and fill in the necessary information to submit a Pull Request. We will review your modifications as soon as possible and discuss with you if necessary.
Thank you for your contribution! If you have any questions, please feel free to ask them in the Pull Request and I will answer them as soon as possible.
- Chinese Pokemon wiki list
- Pokemon API:
- Move correspondence list
- Pokemon traditional style photo library
- Pokemon GIF from Showdown
MIT