API для [僵尸感染]Zombie Hunting V3 Rank|All weapons|Respawn-TESTIN
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "w",
"region": 4,
"product": "cstrike",
"gametype": "bots,bunnyhopping,increased_maxplayers,startmoney",
"dedicated": true,
"steam_id": "90291668522218516",
"domain": null,
"id": 14124131,
"ip": "222.135.136.142",
"port": 27095,
"query": 27095,
"project_id": null,
"color": 0,
"city": "Jinan",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1787790135,
"last_online": 1787805600,
"icon": null,
"name": "[僵尸感染]Zombie Hunting V3 Rank|All weapons|Respawn-TESTIN",
"connect": "222.135.136.142:27095",
"request": "222.135.136.142:27095",
"map": "zm_highschool_day_huhn_v1_3",
"gamemode": null,
"version": "10897846",
"numplayers": 1,
"maxplayers": 64,
"bots": 14,
"secured": true,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1787790135,
"last_update": 1787805600,
"ban_reason": null,
"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": 345,
"language": "zh",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14124131");
$data = json_decode($json, true);
var_dump($data);