Skip to content

mchangrh/hsr-code-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless app that parses new Honkai Star Rail codes from the Honkai Star Rail.

Codes licenced under CC-BY-SA 3.0 as per the wiki.

Regardless of path, it wil return a JSON payload similar to the following:

[
  {
    "code": "0206STARRAIL",
    "server": "A",
    "description": "Startaro Bubble*2;Credit*5000",
    "discovery": "2024-02-05",
    "link": "https://hsr.hoyoverse.com/gift?code=0206STARRAIL"
  }
]

It can be called at https://hsr-code.mchang.workers.dev/ with path /code.json, /code or whatever other format necessary. Currently this only parses NA/ Global and All but CN server codes

Codes are not updated manually, but parsed from the wiki. If you would like another format, feel free to fork the code under the MIT Licence.

About

Serverless app that parses new HSR redemption codes

Topics

Resources

License

Stars

Watchers

Forks