Minecraft
API für serverMindo sosal?
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10134596json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10134596,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"F4E1TSmgBz\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер для подписчиков boosty - https://boosty.to/mindscratcher\\nДля участия в проекте, нужно оформить \\\"лазурный путь\\\"\\n\"}},{\"id\":\"isZL1XT1E7\",\"type\":\"paragraph\",\"data\":{\"text\":\"Быть согласным с правилами сервера - https://t.me/Bezdarniy_Server/4\\n\\nА также пройти \\\"фейсконтроль\\\" в дискорде - https://discord.gg/eVvuAf245Y\"}}]",
"game": 9000034,
"owner": 132388,
"boosts": 1,
"last_offline": 1767592256,
"score": 0,
"last_online": 1766677210,
"icon": null,
"name": "serverMindo sosal?",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 69,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1756169559,
"last_update": 1767592256,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 6033,
"language": "ru",
"parked": true,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "mindscratcher",
"avatar": "46af0d00-a34d-49dd-bbff-11b1751b656b.jpg",
"last_online": 1775637320
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10134596");
$data = json_decode($json, true);
var_dump($data);