Day of Defeat
[476th^RB] Battalion - 24/7 Avalanche Server | Join the Fight! के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9501042json
{
"response": {
"steam_id": "90283040821390360",
"domain": null,
"id": 9501042,
"ip": "167.160.187.11",
"port": 27099,
"query": 27099,
"color": 0,
"city": "Toronto",
"description": null,
"game": 30,
"owner": null,
"boosts": 1,
"last_offline": 1774156929,
"score": 0,
"last_online": 1776455462,
"icon": null,
"name": "[476th^RB] Battalion - 24/7 Avalanche Server | Join the Fight!",
"connect": "167.160.187.11:27099",
"request": "167.160.187.11:27099",
"map": "dod_avalanche",
"gamemode": "Day of Defeat",
"version": "1.1.2.6/Stdio",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1750524221,
"last_update": 1776455462,
"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": 83,
"language": "en",
"parked": false,
"app": {
"id": 28,
"steam_id": 30,
"name": "Day of Defeat",
"url": "day-of-defeat"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/9501042");
$data = json_decode($json, true);
var_dump($data);