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": "26-04-2025 03:32:48",      "date-unix": 1745631168,      "text": "Best server",      "stars": "5"    },    "last": "26-04-2025 03:32:48",    "last-unix": 1745631168,    "next": "26-04-2025 05:32:48",    "next-unix": 1745638368, }

Seznam hlasů hráče

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

{    "username": "Alex",    "votes": [       {          "id": 2122851,          "date": "26-04-2025 03:32:48",          "date-unix": 1745631168,       },       {          "id": 2122764,          "date": "26-04-2025 01:25:03",          "date-unix": 1745623503,       },       ...    ] }

Seznam hlasů serveru

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

{    "name": "My server",    "votes": [       {          "id": 2122764,          "username": "Steve",          "date": "25-04-2025 21:30:33",          "date-unix": 1745609433,       },       {          "id": 2123811,          "username": "Alex"          "date": "26-04-2025 03:32:48",          "date-unix": 1745631168,       },       ...    ] }

Seznam top hlasujících serveru

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

{    "name": "My server",    "votes": [       {          "username": "Alex"          "votes": 135,          "last": "26-04-2025 03:32:48"          "last-unix": 1745631168,          "next": "26-04-2025 05:32:48",          "next-unix": 1745638368,       },       {          "username": "Steve",          "votes": 17,          "last": "25-04-2025 21:30:33"          "last-unix": 1745609433,          "next": "25-04-2025 23:30:33",          "next-unix": 1745616633,       },       ...    ] }

Seznam recenzí serveru

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

{    "name": "My server",    "reviews": [       {          "username": "Alex"          "stars": 5,          "date": "26-04-2025 03:32:48",          "date-unix": 1745631168,          "text": "I love it!",       },       {          "username": "Herobrine",          "stars": 2,          "date": "23-04-2025 20:21:47",          "date-unix": 1745432507,          "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