Desynced
的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11394871json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11394871,
"ip": "176.146.41.107",
"port": 10099,
"query": 27015,
"color": 0,
"city": "Montlebon",
"description": null,
"game": 1450900,
"owner": null,
"boosts": 1,
"last_offline": 1776192678,
"score": 0,
"last_online": 1775737849,
"icon": null,
"name": null,
"connect": null,
"request": "176.146.41.107:27015",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774597156,
"last_update": 1776192678,
"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": 9,
"language": "fr",
"parked": false,
"app": {
"id": 1611628,
"steam_id": 1450900,
"name": "Desynced",
"url": "desynced"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11394871");
$data = json_decode($json, true);
var_dump($data);