API для [汕头]论白给的修炼之道#2[SSGB]群538783248
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793480818,
"app": {
"id": 23489,
"name": "Insurgency: Sandstorm",
"steam_id": 581320,
"url": "insurgency-sandstorm"
},
"color": 0,
"connect": "59.35.57.192:27102",
"country": "CN",
"domain": null,
"game": 581320,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19465242,
"ip": "59.35.57.192",
"language": "zh",
"last_update": 1793886009,
"map": "Farmhouse",
"maxplayers": 12,
"name": "[汕头]论白给的修炼之道#2[SSGB]群538783248",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27102,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27131,
"request": "59.35.57.192:27131",
"secured": true,
"status": false,
"steam_id": "85568392932078032",
"version": "1.1.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гуанчжоу",
"description": null,
"disabled_modules": [],
"gamemode": "Checkpoint",
"hidden": false,
"last_offline": 1793886009,
"last_online": 1793565255,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 879,
"wipe_period": null,
"S": "523",
"Day_b": "true",
"Pwd_b": "false",
"Coop_b": "true",
"Mods_b": "true",
"PlrC_i": "0",
"PlrM_i": "12",
"Night_b": "false",
"Versus_b": "false",
"ModList_s": "6130558,4687288,2595458,4630134,851078,147252,4422455,2671751,3635082,148909,2316005,148518,115420,98204,2321326,852962,575709,549785,168144,165100,93636",
"Mutated_b": "true",
"Mutators_s": "CSTHTR,MapVoteLabels,ImprovedAI,AIModifier,NoDrops,SSGB,SSGB_B_N,SSGB_C_Prize,SSGB_C_Reward,SSGB_C_Revive",
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"CustomRules_b": "false",
"InputDevice_i": "0",
"MatchServer_b": "false",
"RankedServer_b": "true",
"players_complete": true,
"OfficialRuleset_b": "false",
"PublicConnectString_s": "59.35.57.192:27102"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19465242");
$data = json_decode($json, true);
var_dump($data);