[!Caution] This project was rewritten in Rust.
Go edition and Python edition are not maintained anymore.
If you want to use Python edition, please go to old python branch.
If you want to use Go edition, please go to old go branch.
Haruki Sekai API
Haruki Sekai API is a companion project for HarukiBot, providing direct API access to various servers of the game Project Sekai: Colorful Stage.
Requirements
MySQL,SQLite,PostgreSQL(Optional, depending on your database choice)Redis(Optional, for caching sekai users)
How to Use
- Go to release page to download
haruki-sekai-api - Rename
haruki-sekai-configs.example.yamltoharuki-sekai-configs.yamland then edit it. - Make a new directory or use an exists directory
- Put
haruki-sekai-apiandharuki-sekai-configs.yamlin the same directory - Edit
haruki-sekai-configs.yamland configure it - Open Terminal, and
cdto the directory - Run
haruki-sekai-api
Housing Competition Thumbnails
Housing list, entry and back-number responses expose thumbnailPath as
{hash}/{uuid} for all five regions. Fetch the image through
GET /image/{server}/mysekai-housing/{hash}/{uuid}. JP/EN use their authenticated
game image service; CN/TW/KR use the corresponding official public object store.
Consumers upgrading from older releases must migrate cached absolute thumbnail
URLs to the relative path before using this endpoint.
Master Data Registry
master_registry (shipped next to ) is the master data manager: it pulls each region's master from its owner node (), owns git push and database ingest, publishes per-region manifests, maintains the feed and serves everything other projects consume.