Minecraft
API für ┃ Wawy SMP | ничего лишнего » твой новый комфорт
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11302599json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11302599,
"ip": "185.137.234.143",
"port": 30020,
"query": 30020,
"color": 0,
"city": "Moscow",
"description": "[]",
"game": 9000034,
"owner": 182918,
"boosts": 1,
"last_offline": 1776487397,
"score": 5,
"last_online": 1776556812,
"icon": null,
"name": "┃ Wawy SMP | ничего лишнего » твой новый комфорт",
"connect": "185.137.234.143:30020",
"request": "185.137.234.143:30020",
"map": null,
"gamemode": null,
"version": "Paper 1.21.11",
"numplayers": 1,
"maxplayers": 128,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 2,
"points": 92,
"add_date": 1774560732,
"last_update": 1776556812,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": 1,
"list_hidden": true,
"hide_address": false,
"hide_query": false,
"position_game": 21,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "alligator",
"avatar": "e867d520-898c-4a3e-9a82-8c51900e2308.jpg",
"last_online": 1776554858
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11302599");
$data = json_decode($json, true);
var_dump($data);