Insurgency: Sandstorm
API для ==中东火星萌新进阶[11v50|满点人潮0.8]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1465524json
{
"response": {
"steam_id": "85568392934914483",
"domain": null,
"id": 1465524,
"ip": "122.152.226.116",
"port": 27102,
"query": 27131,
"color": 0,
"city": "Guangzhou",
"description": "",
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1773448931,
"score": null,
"last_online": 1776391316,
"icon": null,
"name": "==中东火星萌新进阶[11v50|满点人潮0.8]",
"connect": "122.152.226.116:27102",
"request": "122.152.226.116:27131",
"map": "Gap",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 11,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697311562,
"last_update": 1776391316,
"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": 71,
"language": "zh",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1465524");
$data = json_decode($json, true);
var_dump($data);