No More Room in Hell
#2 ☣ [THE LAST OF US] ☣ [RU/ENG] BattlePass Mission 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/7216243json
{
"response": {
"steam_id": "90284339804686339",
"domain": null,
"id": 7216243,
"ip": "46.174.49.103",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Moscow",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1774925526,
"score": 0,
"last_online": 1776202809,
"icon": null,
"name": "#2 ☣ [THE LAST OF US] ☣ [RU/ENG] BattlePass Mission",
"connect": "46.174.49.103:27016",
"request": "46.174.49.103:27016",
"map": "nmo_journey",
"gamemode": "██ TLOU RU|EN ██",
"version": "1.1.4.2",
"numplayers": 9,
"maxplayers": 9,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 130,
"add_date": 1736452598,
"last_update": 1776202809,
"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": 3,
"language": "ru",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7216243");
$data = json_decode($json, true);
var_dump($data);