Call of Duty 4: Modern Warfare
API für ^1Raid ^3Surf ^7| raid-gaming.net
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/238119json
{
"response": {
"steam_id": null,
"domain": null,
"id": 238119,
"ip": "37.59.45.7",
"port": 28965,
"query": 28965,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1768642906,
"score": null,
"last_online": 1776406874,
"icon": null,
"name": "^1Raid ^3Surf ^7| raid-gaming.net",
"connect": "37.59.45.7:28965",
"request": "37.59.45.7:28965",
"map": "mp_surf_gloaming",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "CoD4: Unleashed 1.7u linux-i386 build 3664 Jan 24 2020",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583081826,
"last_update": 1776406874,
"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": 32,
"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/238119");
$data = json_decode($json, true);
var_dump($data);