API для Wis'adel
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794058186,
"app": {
"id": 50335,
"name": "Barotrauma",
"steam_id": 602960,
"url": "barotrauma"
},
"color": 0,
"connect": "115.223.153.147:27015",
"country": "CN",
"domain": null,
"game": 602960,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19776199,
"ip": "115.223.153.147",
"language": null,
"last_update": 1794631545,
"map": "逆戟鲸级",
"maxplayers": 8,
"name": "Wis'adel",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27015,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "115.223.153.147:27015",
"secured": false,
"status": false,
"steam_id": "90296935380104204",
"version": "1.0.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Вэньчжоу",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794631545,
"last_online": 1794058186,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 686,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "602960",
"gametype": null,
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19776199");
$data = json_decode($json, true);
var_dump($data);