INXServ.eu PVP 6Man x15 - S1 22/05 - Rag #1 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286101555744786",
"domain": null,
"id": 10966229,
"ip": "141.98.157.145",
"port": 7779,
"query": 27016,
"color": 0,
"city": "City of London",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1779465219,
"last_online": 1779579069,
"icon": null,
"name": "INXServ.eu PVP 6Man x15 - S1 22/05 - Rag #1",
"connect": "141.98.157.145:7779",
"request": "141.98.157.145:27016",
"map": "Ragnarok",
"gamemode": "TestGameMode_C",
"version": "358.24",
"numplayers": 78,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768754990,
"last_update": 1779579069,
"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": 8561,
"language": "en",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10966229");
$data = json_decode($json, true);
var_dump($data);