Call of Duty 4: Modern Warfare
API pentru ^53xP' ^7Codjumper ^5Private
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/243159json
{
"response": {
"steam_id": null,
"domain": null,
"id": 243159,
"ip": "91.121.21.210",
"port": 1336,
"query": 1336,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1768640873,
"score": null,
"last_online": 1777565486,
"icon": null,
"name": "^53xP' ^7Codjumper ^5Private",
"connect": "91.121.21.210:1336",
"request": "91.121.21.210:1336",
"map": "mp_race",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X 1.7a linux-i386-custom_debug build 3585 Oct 7 2023",
"numplayers": 0,
"maxplayers": 55,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583081821,
"last_update": 1777565486,
"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": 54,
"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": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/243159");
$data = json_decode($json, true);
var_dump($data);