This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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") |