Synergy
/ M O C K B A /Russia/ S Y N E R G Y /Class mod/ 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6704311json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6704311,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 17520,
"owner": 94022,
"boosts": 1,
"last_offline": 1759763036,
"score": 5,
"last_online": 1756282226,
"icon": null,
"name": "/ M O C K B A /Russia/ S Y N E R G Y /Class mod/",
"connect": null,
"request": null,
"map": "synsp_lobby",
"gamemode": "Synergy 25.3",
"version": null,
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1732099023,
"last_update": 1759763036,
"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": 16,
"language": "ru",
"parked": true,
"app": {
"id": 34,
"steam_id": 17520,
"name": "Synergy",
"url": "synergy"
},
"server_owner": {
"username": "rom_zes_777",
"avatar": "ac2ef6a4-2704-401c-9c19-613680e3e9b5.jpg",
"last_online": 1733889306
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/6704311");
$data = json_decode($json, true);
var_dump($data);