Project Zomboid
Resurrection [NA EST] Currently Vanilla, will add mod as update के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10898007json
{
"response": {
"steam_id": "90285178813214739",
"domain": null,
"id": 10898007,
"ip": "198.73.57.176",
"port": 8767,
"query": 8767,
"color": 0,
"city": "Clifton",
"description": "Resurrection [NA EST] Currently Vanilla, will add mod as updates comes in",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1777321397,
"score": 0,
"last_online": 1777587017,
"icon": null,
"name": "Resurrection [NA EST] Currently Vanilla, will add mod as update",
"connect": "198.73.57.176:8767",
"request": "198.73.57.176:8767",
"map": "map_distanciado;Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.17",
"numplayers": 2,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 66,
"add_date": 1768384146,
"last_update": 1777587017,
"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": 77,
"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.in/servers/10898007");
$data = json_decode($json, true);
var_dump($data);