This repository powers M&S Central, a platform that provides up-to-date leaderboards, rankings, and world record history across multiple Mario & Sonic at the Olympic Games titles.
It contains structured JSON APIs, automation scripts, and workflows that ensure all data remains accurate and continuously updated.
📂 Repository Structure
🔹 /data
This directory contains the core API data used by M&S Central.
Stores structured datasets such as player information and event-related data
Continuously updated through automated processes
Serves as a primary data source for the platform
🏆 /leaderboards
This directory contains the main leaderboard APIs.
Provides current rankings for all supported events
Used directly by the frontend of M&S Central
Automatically updated to reflect the latest results
📈 /wr-history
This directory contains the world record history APIs.
Tracks progression of world records over time
Enables historical analysis and record tracking
Maintained and updated automatically
🗄️ Legacy APIs (Root Files)
JSON files in the root directory (e.g. london-3ds.json, rio-3ds.json, etc.) are:
Legacy API files
Previously used for leaderboards and record tracking
Retained for archival or reference purposes
No longer part of the active system
⚙️ Automation & Data Processing
Scripts
fetch-json.js
Retrieves data from external sources
Prepares and formats it for internal use
update-and-push.js
Updates JSON files with the latest data
Automatically commits and pushes changes to the repository
🤖 GitHub Actions
Located in .github/workflows/
Automates data updates on a schedule or trigger
Runs update scripts without manual intervention
Commits changes with standardized messages (e.g. Auto-update)
🏅 M&S Central – Data API Repository
This repository powers M&S Central, a platform that provides up-to-date leaderboards, rankings, and world record history across multiple Mario & Sonic at the Olympic Games titles.
It contains structured JSON APIs, automation scripts, and workflows that ensure all data remains accurate and continuously updated.
📂 Repository Structure
🔹
/dataThis directory contains the core API data used by M&S Central.
🏆
/leaderboardsThis directory contains the main leaderboard APIs.
📈
/wr-historyThis directory contains the world record history APIs.
🗄️ Legacy APIs (Root Files)
JSON files in the root directory (e.g.
london-3ds.json,rio-3ds.json, etc.) are:⚙️ Automation & Data Processing
Scripts
fetch-json.jsupdate-and-push.js🤖 GitHub Actions
Located in
.github/workflows/Auto-update)📦 Additional Files
data.json,data2.json→ Frequently updated core datasetspackage.json→ Project configuration and dependenciespackage-lock.json→ Dependency lock filenode_modules/→ Installed dependencieslog.txt→ Update logs and debugging output.gitignore..txt→ Git ignore configuration (may require renaming)🚀 About M&S Central
M&S Central is designed to be the central hub for competitive tracking within the Mario & Sonic series.
Features
📝 Notes
/data/leaderboards/wr-history