A lightweight, secure, and free script that automatically collect Hoyolab daily check in rewards. Supports Genshin Impact, Honkai Impact 3rd, and Honkai: Star Rail.
MIT License
332
stars
40
forks
source link
Optimized runtime by allowing for profiles/URLs to be ran asynchronously #8
Used Promise.all() to optimize script runtime for multiple profiles, allowing for autoSignFunction() to be called for each profile at the same time.
Used UrlFetchApp.fetchAll() instead of UrlFetchApp.fetch(), allowing for all requests to be done at the same time if multiple games are to be signed in for, as all responses will be requested at the same time before continuing to run instead of waiting for the APIs for each URL one at a time.
Used Promise.all() to optimize script runtime for multiple profiles, allowing for autoSignFunction() to be called for each profile at the same time.
Used UrlFetchApp.fetchAll() instead of UrlFetchApp.fetch(), allowing for all requests to be done at the same time if multiple games are to be signed in for, as all responses will be requested at the same time before continuing to run instead of waiting for the APIs for each URL one at a time.