Zombie Panic! Source
[ZG] ZombieGaming.org Official Deathmatch Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11016081json
{
"response": {
"steam_id": "90281589298672642",
"domain": null,
"id": 11016081,
"ip": "96.31.61.42",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Glasgow",
"description": null,
"game": 17500,
"owner": null,
"boosts": 1,
"last_offline": 1773961920,
"score": 0,
"last_online": 1777402885,
"icon": null,
"name": "[ZG] ZombieGaming.org Official Deathmatch Server",
"connect": "96.31.61.42:27017",
"request": "96.31.61.42:27017",
"map": "zpd_cabin_zg_b1",
"gamemode": "Deathmatch",
"version": "3108",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769943343,
"last_update": 1777402885,
"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": 20,
"language": "en",
"parked": false,
"app": {
"id": 37,
"steam_id": 17500,
"name": "Zombie Panic! Source",
"url": "zombie-panic-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11016081");
$data = json_decode($json, true);
var_dump($data);