Api.Sprax2013.de or SpraxAPI for short is a collection of different public APIs that everyone can use.
SpraxAPI started as a private API in PHP to ensure my projects keep working without hitting the rate limit for some APIs. As soon as I discoverd Node.js, I quickly felt confident that my API can handle requests from the public (performance and security). And currently servers over 2,000,000 request a month (as of the 4th May 2020).
You currently can request all sort of Minecraft related things without hitting any rate limitations. My API achieves this thanks to CloudFlare and internal caching of responses. Additionally, you can request processed version of this data. For example Skins upgraded to the 1.8 format (64x64 pixels) or a (2D/3D) rendered Version of it.
Yes, but did you use any of the known other ones? Only allowing UUIDs, caching for multiple minutes or hours, not allowing for accurate data in some use cases? Or even long response times and huge response body size?
They are not bad but they could be better. So I'm offering a public and Open Source Version alternative, trying to not cause too much traffic (Mojang has to pay bills too!) while providing an helpful and easy to use API.
I'm currently working on SkinDB. It will make great use of this API and provide an intuitive interface for people who don't want to use this API or don't know how.
It aims to be highly transparent to everyone. Thanks to this transparency it is easily compliant with most data protection laws e.g. the GDPR.
This API provides data in JSON format. I can't even display an ad in some corner if I wanted to. (consider supporting me on Patreon)
You'll need Node.js and npm on your machine and a PostgreSQL instance
Prepare your PostgreSQL server by running the commands inside(coming soon)./tables.sql
npm install
npm run build
npm run start
ornpm run start-headless
on machines without GPU- Configure all files inside
./storage/
(automatically generated) - Type
rs
into the console or restart the process
Can't run? You might need to install some dependencies found here and here too
- Follow the Setup section until 2nd step.
- Use
npm run dev
to run without creating an output dir (autorestart on file changes)
🎨JonasAlpha |
💻NudelErde |
CloudFlare Free |
JetBrains OS License |