Counter-Strike: Source
API für -=H.D.F=- Zombie Escape NEW IP 78.31.71.100:27105 !!!
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/144453json
{
"response": {
"steam_id": "90284343717841935",
"domain": null,
"id": 144453,
"ip": "213.202.212.239",
"port": 27105,
"query": 27105,
"color": 0,
"city": "Düsseldorf",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1768641995,
"score": null,
"last_online": 1776183068,
"icon": null,
"name": "-=H.D.F=- Zombie Escape NEW IP 78.31.71.100:27105 !!!",
"connect": "213.202.212.239:27105",
"request": "213.202.212.239:27105",
"map": "hdf_new_sv",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 33,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1552835611,
"last_update": 1776183068,
"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": 835,
"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/144453");
$data = json_decode($json, true);
var_dump($data);