- Overseas server & Mainland China server supported
- Multiaccount supported
- Multigame supported
- Genshin Impact
- Honkai Impact 3RD
- Honkai: Star Rail
- Tears of Themis
- Auto checked in every day
- Discord Webhook
- You can choose to update -> HERE~
- Create a fork of this project
- Get the
id
andtoken
of the account you want to check in daily- For those don't know how to get
id
andtoken
-> Click Me!
- For those don't know how to get
- Go to
./src/test/java/com/zvyap/hoyoapi/test/CheckInDailyTest.java
- Click
Edit this file
button - Change what game you want (just copy paste the line of code OR delete the line
- GameType's name please follow here [GENSHIN_IMPACT, HONKAI_IMPACT_3RD, HONKAI_STAR_RAIL, TEARS_OF_THEMIS]
- For those only use for only account, you going to end here [If not scroll downward]
- Just click
Commit changes...
at bottom right & clickCommit changes
- Follow the picture below
- If you got extra account, repeat the step with the secret you put in the
gradle.yml
file
- Copy this block of code
CheckInAction.builder()
.token(HoyoToken.of(System.getenv("USER_1_ID"), System.getenv("USER_1_TOKEN")))
.game(GameType.GENSHIN_IMPACT)
.game(GameType.HONKAI_STAR_RAIL)
.build()
- Paste it below the original code block in the file, also a
,
at the end of the previous code - ONLY THE LAST PART OF THE CODE DOESN'T NEED
,
- Edit the
USER_1_ID
andUSER_1_TOKEN
to other number [IMPORTANT]- Example: second user ->
USER_2_ID
andUSER_2_TOKEN
- Example: thrid user ->
USER_3_ID
andUSER_3_TOKEN
- Make sure it don't repeat
- Example: second user ->
- Click
Commit changes...
at bottom right & clickCommit changes
- Go to
/.github/workflows/gradle.yml
- Click
Edit this file
button - Add the extra user secret (Remember the secret name you put)
- Go to
Actions
tab - If
Actions
is not enabled, just enable it - Select
Daily Check In Task
- Click
Run workflow
->Run workflow