Squad
[DoD] Dead on Dismount | New Player Friendly 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10630632json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630632,
"ip": "198.133.237.26",
"port": 10250,
"query": 10250,
"color": 0,
"city": "Chicago",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775996547,
"score": 0,
"last_online": 1776456023,
"icon": null,
"name": "[DoD] Dead on Dismount | New Player Friendly",
"connect": "198.133.237.26:10250",
"request": "198.133.237.26:10250",
"map": "Manicouagan_Seed_v2_CL",
"gamemode": "Seed",
"version": "v10.3.1.576590.1719",
"numplayers": 44,
"maxplayers": 98,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763632680,
"last_update": 1776456023,
"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": 95,
"language": "en",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10630632");
$data = json_decode($json, true);
var_dump($data);