Counter-Strike
API für Counter-Strike 1.6 Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11179621json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11179621,
"ip": "46.22.240.202",
"port": 27013,
"query": 27013,
"color": 0,
"city": "Zheleznogorsk",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775821325,
"score": 0,
"last_online": 1776180656,
"icon": null,
"name": "Counter-Strike 1.6 Server",
"connect": "46.22.240.202:27013",
"request": "46.22.240.202:27013",
"map": "de_airstrip",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229534,
"last_update": 1776180656,
"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": 6507,
"language": "ru",
"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/11179621");
$data = json_decode($json, true);
var_dump($data);