Dokumentace - API

Pro Vás jsme vytvořili API, kterou můžete využívat a získávat tak informace o Vašem serveru.

U requestů obsahující seznam je možné přidat &limit=ČÍSLO, což omezí počet výpisů.

U všech requestů je možné přidat &archive=MĚSÍC/ROK příklad: 09/2023, což zobrazí historické data.

SERVER_ID nahraďte identifikátorem serveru, který najdete v administraci.

PLAYER_NAME nahraďte přezdívkou hráče, které bylo při hlasování zadáno jako přezdívka.

Informace o serveru

GET
https://creeperlist.eu/api/getServerInfo?id=SERVER_ID

{    "name": "My server",    "address": "127.0.0.1:25561",    "position": 1,    "status": 11,    "rating": 1,    "votes": 142 }

Informace o hráči

GET
https://creeperlist.eu/api/getPlayerInfo?id=SERVER_ID&username=PLAYER_NAME

{    "name": "Alex",    "votes": 135,    "review": {      "date": "19-02-2025 03:12:15",      "date-unix": 1739931135,      "text": "Best server",      "stars": "5"    },    "last": "19-02-2025 03:12:15",    "last-unix": 1739931135,    "next": "19-02-2025 05:12:15",    "next-unix": 1739938335, }

Seznam hlasů hráče

GET
https://creeperlist.eu/api/getPlayerVotes?id=SERVER_ID&username=PLAYER_NAME

{    "username": "Alex",    "votes": [       {          "id": 2122851,          "date": "19-02-2025 03:12:15",          "date-unix": 1739931135,       },       {          "id": 2122764,          "date": "19-02-2025 01:04:30",          "date-unix": 1739923470,       },       ...    ] }

Seznam hlasů serveru

GET
https://creeperlist.eu/api/getServerVotes?id=SERVER_ID

{    "name": "My server",    "votes": [       {          "id": 2122764,          "username": "Steve",          "date": "18-02-2025 21:10:00",          "date-unix": 1739909400,       },       {          "id": 2123811,          "username": "Alex"          "date": "19-02-2025 03:12:15",          "date-unix": 1739931135,       },       ...    ] }

Seznam top hlasujících serveru

GET
https://creeperlist.eu/api/getTopVoters?id=SERVER_ID

{    "name": "My server",    "votes": [       {          "username": "Alex"          "votes": 135,          "last": "19-02-2025 03:12:15"          "last-unix": 1739931135,          "next": "19-02-2025 05:12:15",          "next-unix": 1739938335,       },       {          "username": "Steve",          "votes": 17,          "last": "18-02-2025 21:10:00"          "last-unix": 1739909400,          "next": "18-02-2025 23:10:00",          "next-unix": 1739916600,       },       ...    ] }

Seznam recenzí serveru

GET
https://creeperlist.eu/api/getServerReviews?id=SERVER_ID

{    "name": "My server",    "reviews": [       {          "username": "Alex"          "stars": 5,          "date": "19-02-2025 03:12:15",          "date-unix": 1739931135,          "text": "I love it!",       },       {          "username": "Herobrine",          "stars": 2,          "date": "16-02-2025 20:01:14",          "date-unix": 1739732474,          "text": "Bad support, not working shops :(",       },       ...    ] }

Copyright © 2025 Creeperlist.eu • Minecraft Serverlist

Created by DVEJN with ♥ • v1.24

Copyright © 2025 Creeperlist.eu • Minecraft Serverlist

Created by DVEJN with ♥ • v1.24