Counter-Strike
API für .:: KANTER.MK DEATHMATCH SERVER 24/7 [ASSAULT ONLY MAPS] ::.
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9600965json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9600965,
"ip": "212.87.213.3",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775130134,
"score": 0,
"last_online": 1776204611,
"icon": null,
"name": ".:: KANTER.MK DEATHMATCH SERVER 24/7 [ASSAULT ONLY MAPS] ::.",
"connect": "212.87.213.3:27016",
"request": "212.87.213.3:27016",
"map": "cs_assault_blizzard_final",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 25,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 88,
"add_date": 1750694951,
"last_update": 1776204611,
"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": 1722,
"language": "de",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9600965");
$data = json_decode($json, true);
var_dump($data);