Insurgency: Sandstorm
++[RU/EN]++ FULLBREAD.ru HIGH SKILL coop 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10474257json
{
"response": {
"steam_id": "85568392935464735",
"domain": null,
"id": 10474257,
"ip": "193.164.18.129",
"port": 27402,
"query": 27431,
"color": 0,
"city": "Moscow",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1776404619,
"score": 0,
"last_online": 1776441116,
"icon": null,
"name": "++[RU/EN]++ FULLBREAD.ru HIGH SKILL coop",
"connect": "193.164.18.129:27402",
"request": "193.164.18.129:27431",
"map": "Town",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760513504,
"last_update": 1776441116,
"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": 226,
"language": "ru",
"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.cn/servers/10474257");
$data = json_decode($json, true);
var_dump($data);