Project Zomboid
API for 萌新狂飙服(CN)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10397281json
{
"response": {
"steam_id": "90284732851251201",
"domain": null,
"id": 10397281,
"ip": "43.248.139.222",
"port": 30955,
"query": 30955,
"color": 0,
"city": "Zhenjiang",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776732199,
"score": 0,
"last_online": 1776814923,
"icon": null,
"name": "萌新狂飙服(CN)",
"connect": "43.248.139.222:30955",
"request": "43.248.139.222:30955",
"map": "Trelai_4x4;Trelai_spawns;Trelai",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1758714952,
"last_update": 1776814923,
"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": 3309,
"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/10397281");
$data = json_decode($json, true);
var_dump($data);