V Rising
[BR] Runas de Covenant [RPG] 2X 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11449393json
{
"response": {
"steam_id": "90284743102394393",
"domain": null,
"id": 11449393,
"ip": "200.6.48.59",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Suzano",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776308512,
"score": 0,
"last_online": 1776786643,
"icon": null,
"name": "[BR] Runas de Covenant [RPG] 2X",
"connect": "200.6.48.59:9876",
"request": "200.6.48.59:9877",
"map": "VRisingWorld",
"gamemode": "8c74846f-ffe8-436e-a38a-4642718a5aad",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1774977972,
"last_update": 1776786643,
"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": 145,
"language": "pt",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11449393");
$data = json_decode($json, true);
var_dump($data);