Rem Survival
Official #3 - PvE - US Mid X2 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5599779json
{
"response": {
"steam_id": "90284508135861277",
"domain": null,
"id": 5599779,
"ip": "83.223.207.151",
"port": 28100,
"query": 28115,
"color": 0,
"city": "Dallas",
"description": null,
"game": 574180,
"owner": null,
"boosts": 1,
"last_offline": 1776153718,
"score": 0,
"last_online": 1776339111,
"icon": null,
"name": "Official #3 - PvE - US Mid X2",
"connect": "83.223.207.151:28100",
"request": "83.223.207.151:28115",
"map": "Rise Island",
"gamemode": "Rem Survival",
"version": "0.24.10.02",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1723633242,
"last_update": 1776339111,
"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": 15,
"language": "en",
"parked": false,
"app": {
"id": 40583,
"steam_id": 574180,
"name": "Rem Survival",
"url": "rem-survival"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/5599779");
$data = json_decode($json, true);
var_dump($data);