API pentru CRYMAP X5 | Building X10 | PVE + PVP | RU | EU
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 181,
"fps_avg": 180,
"entities_count": 100735,
"world_seed": 12355,
"world_size": 4000,
"steam_id": "90286576330438668",
"domain": null,
"id": 10896137,
"ip": "78.24.41.96",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Engel's",
"description": "\nДружелюбный сервер для новичков и опытных игроков\r\n\r\n - Добыча ресурсов x5\r\n - Скорость крафта x5\r\n - PVP зоны на монументах\r\n - Прочность зданий x10\r\n - Вайп раз в две недели по четвергам",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596270,
"last_online": 1780593628,
"icon": null,
"name": "CRYMAP X5 | Building X10 | PVE + PVP | RU | EU",
"connect": "78.24.41.96:28015",
"request": "78.24.41.96:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768383772,
"last_update": 1780596270,
"banned": false,
"wipe": 1780471153,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10909,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10896137");
$data = json_decode($json, true);
var_dump($data);