Call of Duty 4: Modern Warfare
VanillaTDM COD4 AllMaps के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10854770json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10854770,
"ip": "95.47.244.172",
"port": 28960,
"query": 28960,
"color": 0,
"city": "Berdsk",
"description": null,
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1777277005,
"score": 0,
"last_online": 1777570249,
"icon": null,
"name": "VanillaTDM COD4 AllMaps",
"connect": "95.47.244.172:28960",
"request": "95.47.244.172:28960",
"map": "mp_strike",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X - win_mingw-x86-custom build 1154 May 1 2022",
"numplayers": 0,
"maxplayers": 22,
"bots": 10,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768015427,
"last_update": 1777570249,
"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": 82,
"language": "ru",
"parked": false,
"app": {
"id": 1629111,
"steam_id": 7940,
"name": "Call of Duty 4: Modern Warfare",
"url": "call-of-duty-4-modern-warfare"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10854770");
$data = json_decode($json, true);
var_dump($data);