Counter-Strike: Source
API für [EU] ZEN ٠ CS:S JAILBREAK @ ZENSERVERS.NET
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11368040json
{
"response": {
"steam_id": "90284318830029830",
"domain": null,
"id": 11368040,
"ip": "188.40.128.215",
"port": 27026,
"query": 27026,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775390528,
"score": 0,
"last_online": 1776343346,
"icon": null,
"name": "[EU] ZEN ٠ CS:S JAILBREAK @ ZENSERVERS.NET",
"connect": "188.40.128.215:27026",
"request": "188.40.128.215:27026",
"map": "jb_mlcastle_refurbished_v3_fix",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595469,
"last_update": 1776343346,
"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": 1713,
"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/11368040");
$data = json_decode($json, true);
var_dump($data);