Skip to content

Instantly share code, notes, and snippets.

View danieltanfh95's full-sized avatar

Daniel danieltanfh95

View GitHub Profile
@danieltanfh95
danieltanfh95 / microgpt.py
Created March 1, 2026 07:02 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp

Shadowverse Card API

Basic

Every response to all the endpoints is encapsulated in a root JSON object with two keys, a data_headers and a data. The data value is a JSON object. For every endpoint, there exist different keys which contain the actual queried data. In case of any errors, data will contain an empty JSON array.

Card information