Counter-Strike: Source
API für Buzzkill 24/7 by Pr1n2e_Clan ---> FastDL <---
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10350041json
{
"response": {
"steam_id": "90284744593422355",
"domain": null,
"id": 10350041,
"ip": "45.142.112.200",
"port": 20152,
"query": 20152,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1771776695,
"score": 0,
"last_online": 1776798745,
"icon": null,
"name": "Buzzkill 24/7 by Pr1n2e_Clan ---> FastDL <---",
"connect": "45.142.112.200:20152",
"request": "45.142.112.200:20152",
"map": "fy_buzzkill_b313_v2",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1758529060,
"last_update": 1776798745,
"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": 1353,
"language": "de",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10350041");
$data = json_decode($json, true);
var_dump($data);