Egg Inc Prestige Tracker and EB Estimator

This is a RESTful project built using Google Apps Script (a subset of JavaScript). The main goal of this project is to automatically pull data from an API returning JSON data from the game Egg Inc, an idle game. Uses clasp, which transpiles from TypeScript to Google Apps Script, as well as a self-built tree traversal function to parse JSON data. It also includes OOP classes to maintain readability, especially for artifacts, and the project modifies the sheet via the code as well — completely automatically, even when your computer is sleeping. The project is feature complete, and contains about ~2k LOC. Built with Google Sheets scripting, a public Egg Inc API, a whole lotta caffeine, and too many painful workarounds.
Why?
The initial concept for this idea came from a late-night "prestige session". "Prestige" is a mechanic used to progress: in this game, you earn more prestige currency with more EB (Earnings Bonus). At a certain point, a group on Discord and I had a competition, and I built this sheet to help everyone track their data.
Limitations of Google Apps Script
Despite being essentially JavaScript, there are a lot of limitations. For example, the script must be given permission to run (since it calls UrlFetch), there are no imports, the debugging experience is terrible, and you have a VERY limited subset of functions.