Project Zomboid
Order your Server Today! RivixServers.com Starting at 5.99! 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11095516json
{
"response": {
"steam_id": "90283601371711504",
"domain": null,
"id": 11095516,
"ip": "147.135.9.148",
"port": 27080,
"query": 27080,
"color": 0,
"city": "Oakton",
"description": "Hosted By Rivixservers.com",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1773274932,
"score": 0,
"last_online": 1776796224,
"icon": null,
"name": "Order your Server Today! RivixServers.com Starting at 5.99!",
"connect": "147.135.9.148:27080",
"request": "147.135.9.148:27080",
"map": "West Point, KY;Muldraugh, KY;Ro",
"gamemode": "Project Zomboid",
"version": "42.15",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770028143,
"last_update": 1776796224,
"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": 1671,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11095516");
$data = json_decode($json, true);
var_dump($data);