Call of Duty 4: Modern Warfare
COD4 TDM के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/244920json
{
"response": {
"steam_id": null,
"domain": null,
"id": 244920,
"ip": "89.234.183.99",
"port": 28960,
"query": 28960,
"color": 0,
"city": "Nanterre",
"description": "",
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1774818132,
"score": 5,
"last_online": 1775934022,
"icon": null,
"name": "COD4 TDM",
"connect": "89.234.183.99:28960",
"request": "89.234.183.99:28960",
"map": "mp_strike",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X - linux-i386 build 1154 May 1 2022",
"numplayers": 8,
"maxplayers": 50,
"bots": 4,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 44,
"add_date": 1583081796,
"last_update": 1775934022,
"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": 19,
"language": "fr",
"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/244920");
$data = json_decode($json, true);
var_dump($data);