noinfo3052620
的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11394758json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11394758,
"ip": "108.181.246.37",
"port": 7186,
"query": 7187,
"color": 0,
"city": "Dallas",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1776286871,
"score": 0,
"last_online": 1776160826,
"icon": null,
"name": null,
"connect": null,
"request": "108.181.246.37:7187",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774597064,
"last_update": 1776286871,
"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": 109,
"language": "en",
"parked": false,
"app": {
"id": 1665334,
"steam_id": 3052620,
"name": "noinfo3052620",
"url": "noinfo3052620"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11394758");
$data = json_decode($json, true);
var_dump($data);