Logo

PistonCubeBOT

This API is a test API. It is still not 100% working and may give errors, but you can use it for your Discord bot or any project. If you need help, contact me on Discord: PistonCube#0001.

/Servers (Server list)

api.pistoncube.com.ar/servers - Gives the servers where the bot is (currently not working properly).

/Players (Players list)

api.pistoncube.com.ar/players/(Server) - Provides username, UUID, ping, and displayName.

Example: api.pistoncube.com.ar/players/2b2tar

Sample response:

[{"username":"PistonCubeBOT","uuid":"c4fd8d64-711e-3918-88e7-797149a5f363","ping":58,"displayName":{"text":"PistonCubeBOT"}}]

/Tablist (The server tab)

api.pistoncube.com.ar/tablist/(Server) - Provides header and footer of the tablist.

Example: api.pistoncube.com.ar/tablist/2b2tar

Sample response:

{"header":{"text":"\n§7§l2BUILDERS2TOOLS\n"},"footer":{"text":"\n§820 §8tps — 23 Players — 58 ping\n"}}