API für Shockbyte Canada Cosy Deathmatch
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90285997094927375",
"domain": null,
"id": 11588241,
"ip": "15.235.23.59",
"port": 26311,
"query": 26313,
"color": 0,
"city": "Montreal",
"description": null,
"game": 321360,
"owner": null,
"boosts": 1,
"last_offline": 1779357589,
"last_online": 1779876635,
"icon": null,
"name": "Shockbyte Canada Cosy Deathmatch",
"connect": "15.235.23.59:26311",
"request": "15.235.23.59:26313",
"map": "pc-docks",
"gamemode": "PCTeamDeathMatchGame",
"version": "3.3.2",
"numplayers": 1,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1779357589,
"last_update": 1779876635,
"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": 9,
"language": "en",
"parked": false,
"app": {
"id": 4384,
"steam_id": 321360,
"name": "Primal Carnage: Extinction",
"url": "primal-carnage-extinction"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11588241");
$data = json_decode($json, true);
var_dump($data);