API для [PL] CZAK Games - Serwer dla widzow
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 192,
"fps_avg": 184,
"entities_count": 105730,
"world_seed": 7052026,
"world_size": 4250,
"steam_id": "90286566586539030",
"domain": null,
"id": 10957426,
"ip": "203.16.163.130",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Frankfurt am Main",
"description": "Owner: CZAK_Games - Twitch.tv /CZAK_Games \r\n\r\n\r\nZapraszam na Discord.\r\nautomatyczny restart +- ~20:00",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780069423,
"last_online": 1780569032,
"icon": null,
"name": "[PL] CZAK Games - Serwer dla widzow",
"connect": "203.16.163.130:28015",
"request": "203.16.163.130:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768741672,
"last_update": 1780569032,
"banned": false,
"wipe": 1778191741,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3955,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10957426");
$data = json_decode($json, true);
var_dump($data);