Skip to content

Instantly share code, notes, and snippets.

@Goby56
Goby56 / popver.py
Last active October 30, 2025 09:50
Script to get a rough overview of which Minecraft version people are playing
# This script will retrieve all versions of FabricAPI available on Modrinth.
# By getting an estimate of how many downloads per day players download Fabric API
# for a particular version of Minecraft, we can get a somewhat good estimate of
# which Minecraft version is the most popular. We use Fabric API as it most likely
# is the first mod of choice someone installs.
import requests, re, datetime, tabulate
fapi_versions = requests.get("https://api.modrinth.com/v2/project/fabric-api/version")