Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchangrh/genshin-code-worker
Serverless app that parses new genshin codes
https://github.com/mchangrh/genshin-code-worker
genshin-impact
Last synced: 20 days ago
JSON representation
Serverless app that parses new genshin codes
- Host: GitHub
- URL: https://github.com/mchangrh/genshin-code-worker
- Owner: mchangrh
- License: mit
- Created: 2023-12-21T02:26:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T20:07:42.000Z (10 months ago)
- Last Synced: 2024-12-16T00:32:40.954Z (22 days ago)
- Topics: genshin-impact
- Language: JavaScript
- Homepage: https://genshin-code.mchang.workers.dev/
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Serverless app that parses new Genshin Impact codes from the [Genshin Impact Wiki](https://genshin-impact.fandom.com/wiki/Promotional_Code).
Codes licenced under CC-BY-SA 3.0 as per the wiki.
Can be used as a drop-in alternative to `genshin-redeem-code.vercel.app`. Regardless of path, it wil return
a JSON payload similar to the following:```json
[
{
"code": "8SJSDSX68UF9",
"description": "Mora*8,888;Clearwater Jade*5;Encompassing Gladness*2;Bountiful Year*2",
"discovery": "2024-02-09",
"expiry": "2024-02-24",
"link": "https://genshin.hoyoverse.com/en/gift?code=8SJSDSX68UF9"
}
]
```It can be called at `https://genshin-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.