API для \u00A7bHosted by \u00A7bShockbyte\u00A7r\u00A7r\nhttps\://shockbyte.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11018502,
"ip": "15.204.68.221",
"port": 24475,
"query": 24475,
"color": 0,
"city": "Hillsboro",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780596213,
"last_online": 1780228336,
"icon": null,
"name": "\\u00A7bHosted by \\u00A7bShockbyte\\u00A7r\\u00A7r\\nhttps\\://shockbyte.com",
"connect": "15.204.68.221:24475",
"request": "15.204.68.221:24475",
"map": null,
"gamemode": null,
"version": "Gate 1.7.2-1.7.5-1.21.11",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769944592,
"last_update": 1780596213,
"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": 5453,
"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/11018502");
$data = json_decode($json, true);
var_dump($data);