API for 独醉网络服务器出租
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": 90286378794760210,
"domain": null,
"id": 11536692,
"ip": "103.45.143.5",
"port": 11248,
"query": 11248,
"color": 0,
"city": "Hankow",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1780091615,
"last_online": 1780173639,
"icon": null,
"name": "独醉网络服务器出租",
"connect": "103.45.143.5:11248",
"request": "103.45.143.5:11248",
"map": "motelfolder;Basements;Blueberry",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1779355307,
"last_update": 1780173639,
"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": 3014,
"language": "zh",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11536692");
$data = json_decode($json, true);
var_dump($data);