Call of Duty 4: Modern Warfare
API pentru [DE] Fun-Gaming by Maphosts
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11488634json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488634,
"ip": "89.163.190.158",
"port": 27000,
"query": 27000,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1775673108,
"score": 0,
"last_online": 1775946647,
"icon": null,
"name": "[DE] Fun-Gaming by Maphosts",
"connect": "89.163.190.158:27000",
"request": "89.163.190.158:27000",
"map": "mp_citystreets",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X - linux-i386 build 1154 May 1 2022",
"numplayers": 0,
"maxplayers": 14,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1775673108,
"last_update": 1775946647,
"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": 90,
"language": "de",
"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/11488634");
$data = json_decode($json, true);
var_dump($data);