squid-game-api

an API containing JSON content about Squid Game.

Built with Python via FastAPI.

sg

Seasons

sudo docker compose up -d --build

In the docker-compose.yml, you can modify either the WEBUI port (for API instance) or Discord API token (Discord Bot).

Apps using the API

Basic Instance (Github Pages)

There is a Github Pages link you can use for an extremely basic frontend that just prints JSON.

To use it, select a season (/s1) or (/s2),

add /characters or /episodes or /episodes-s3 (for /s2), and then add the name of the .JSON.

For characters, it’s the person number (i.e. 001.json).

For episodes, it’s the episode name with under-dashes (One_Last_Game.json).

Discord fetcher bot

There is a simple discord bot built in Py-Cord (Python).

This bot fetches characters/episodes from the github pages instance and cannot be changed.

In apps/dcd-bot, you can view the .py file, as well as docker files to self-host the bot. I cannot host the bot myself.

To host, you need to create a app on Discord Developers Portal, and get the bot API key, and for adding it to a server, it needs bot, and application.commands permissions in the ‘OAuth2’ section.

Contribute

There are some issues that should be fixed below:

  1. Some JSON files have /n or other typos made by AI. I won’t go through all of these (912) files but if you found an error, you can open an issue so I can fix it or open a PR so I can approve it.