Minecraft
API для GROOVEMC sᴜʀᴠɪᴠᴀʟ ɴᴇᴡ sᴇᴀsᴏɴ ʀᴇʟᴇᴀsᴇᴅ
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10529113json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10529113,
"ip": "67.211.212.196",
"port": 25571,
"query": 25571,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1772883098,
"score": 0,
"last_online": 1776113443,
"icon": null,
"name": "GROOVEMC sᴜʀᴠɪᴠᴀʟ ɴᴇᴡ sᴇᴀsᴏɴ ʀᴇʟᴇᴀsᴇᴅ",
"connect": "67.211.212.196:25571",
"request": "67.211.212.196:25571",
"map": null,
"gamemode": null,
"version": "Purpur 1.21.8",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762516870,
"last_update": 1776113443,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3636,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10529113");
$data = json_decode($json, true);
var_dump($data);