Call of Duty 4: Modern Warfare
API für nN| Nuketown TDM HC | noname.zone
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/382493json
{
"response": {
"steam_id": null,
"domain": null,
"id": 382493,
"ip": "51.255.25.199",
"port": 1026,
"query": 1026,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1776142317,
"score": null,
"last_online": 1777569638,
"icon": null,
"name": "nN| Nuketown TDM HC | noname.zone",
"connect": "51.255.25.199:1026",
"request": "51.255.25.199:1026",
"map": "mp_nuketown",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4 X - linux-i386 build 1154 May 1 2022",
"numplayers": 1,
"maxplayers": 50,
"bots": 6,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1597717344,
"last_update": 1777569638,
"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": 35,
"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": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/382493");
$data = json_decode($json, true);
var_dump($data);