VEIN
S2G PvE Public x2zombies moreLoot - discord.gg/jN5pwvRKng 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11416193json
{
"response": {
"steam_id": "90284661878931468",
"domain": null,
"id": 11416193,
"ip": "129.150.47.197",
"port": 7735,
"query": 27035,
"color": 0,
"city": "Singapore",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1776614556,
"score": 0,
"last_online": 1776814234,
"icon": null,
"name": "S2G PvE Public x2zombies moreLoot - discord.gg/jN5pwvRKng",
"connect": "129.150.47.197:7735",
"request": "129.150.47.197:27035",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.023h4",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1774599240,
"last_update": 1776814234,
"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": 247,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11416193");
$data = json_decode($json, true);
var_dump($data);