API для Wiped May 23 | Biweekly Solo/Duo/Trio | Noob Friendly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 45368,
"world_seed": 334755978,
"world_size": 3000,
"steam_id": "90286134872863747",
"domain": null,
"id": 11645043,
"ip": "15.235.43.8",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Montreal",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780573410,
"last_online": 1780401118,
"icon": null,
"name": "Wiped May 23 | Biweekly Solo/Duo/Trio | Noob Friendly",
"connect": "15.235.43.8:28015",
"request": "15.235.43.8:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780177444,
"last_update": 1780573410,
"banned": false,
"wipe": 1779563599,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12553,
"language": "en",
"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/11645043");
$data = json_decode($json, true);
var_dump($data);