Call of Duty 4: Modern Warfare
API für Old Gits Having Fun HC TDM Weak Chopper [B3]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/238380json
{
"response": {
"steam_id": null,
"domain": null,
"id": 238380,
"ip": "51.89.142.117",
"port": 1028,
"query": 1028,
"color": 0,
"city": "London",
"description": "",
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1774899127,
"score": null,
"last_online": 1775966437,
"icon": null,
"name": "Old Gits Having Fun HC TDM Weak Chopper [B3]",
"connect": "51.89.142.117:1028",
"request": "51.89.142.117:1028",
"map": "mp_backlot",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X - win_mingw-x86 build 1153 May 1 2022",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583081797,
"last_update": 1775966437,
"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": 37,
"language": "en",
"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": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/238380");
$data = json_decode($json, true);
var_dump($data);