Note
Join the Discord server for issues. Thanks a lot!
JSON containing links to the all known PaperMC versions.
An API that is forked from osipxd/Paper versions links but it updates the JSON file with a script automatically.
It fetches the versions & build numbers available from PaperMC API and format it into a JSON format, same as osipxd's Paper versions links .
GET https://qing762.is-a.dev/api/papermcReturns the entire PaperMC versions data.
{
"latest": "1.21.4",
"versions": {
"1.21.4": "https://api.papermc.io/v2/projects/paper/versions/1.21.4/builds/150/downloads/paper-1.21.4-150.jar",
"1.21.3": "https://api.papermc.io/v2/projects/paper/versions/1.21.3/builds/82/downloads/paper-1.21.3-82.jar",
...
}
}GET https://qing762.is-a.dev/api/papermc/latestReturns the latest PaperMC version.
{
"latest": "1.21.4",
"url": "https://api.papermc.io/v2/projects/paper/versions/1.21.4/builds/150/downloads/paper-1.21.4-150.jar"
}GET https://qing762.is-a.dev/api/papermc/versions/{version}Returns data for a specific PaperMC version.
{
"version": "1.21.4",
"url": "https://api.papermc.io/v2/projects/paper/versions/1.21.4/builds/150/downloads/paper-1.21.4-150.jar"
}To build the API yourself, follow the steps below:
Clone the project
git clone https://github.com/qing762/paper-version-linksGo to the project directory
cd paper-version-linksInstall dependencies
pip install -r requirements.txtRun the code
python main.pyYou should see a paper-versions.json file after this, meaning that it is built successfully and you can use the JSON file as an API for your projects.
Contributions are always welcome!
To contribute, fork this repository and improve it. After that, press the contribute button.
If you have any feedback or issues using the API, please join the Discord server