DPSS Zomboid Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286956295860233",
"domain": null,
"id": 10623562,
"ip": "208.75.182.227",
"port": 26935,
"query": 26935,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "Everyone's favorite death simulator!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1770886909,
"last_online": 1781382035,
"icon": null,
"name": "DPSS Zomboid Server",
"connect": "208.75.182.227:26935",
"request": "208.75.182.227:26935",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763330888,
"last_update": 1781382035,
"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": 843,
"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/10623562");
$data = json_decode($json, true);
var_dump($data);