API for PVE萌新乐园,原纯净好玩!
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "90286229051442203",
"domain": null,
"id": 11530197,
"ip": "210.16.171.123",
"port": 26900,
"query": 26900,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1780390472,
"last_online": 1781215835,
"icon": null,
"name": "PVE萌新乐园,原纯净好玩!",
"connect": "210.16.171.123:26900",
"request": "210.16.171.123:26900",
"map": "5.1新开大地图",
"gamemode": "7 Days To Die",
"version": "01.02.06",
"numplayers": 6,
"maxplayers": 100,
"bots": 6,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1779355050,
"last_update": 1781215835,
"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": 114,
"language": "zh",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11530197");
$data = json_decode($json, true);
var_dump($data);