Counter-Strike 2
API für [CS2] qqbasement - 5x5 #1
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9317827json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9317827,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[\n {\n \"id\": \"I8P5m9pQn0\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"наш сайт - https://qqbasement.ru/\"\n }\n },\n {\n \"id\": \"F545Jx5NPA\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"tg - https://t.me/qqbasement\"\n }\n },\n {\n \"id\": \"u-rs4sPHQo\",\n \"type\": \"paragraph\",\n \"data\": {\n \"text\": \"discord - https://discord.gg/H4bb3bTCVU\"\n }\n }\n]",
"game": 730,
"owner": 120145,
"boosts": 1,
"last_offline": 1768888818,
"score": 5,
"last_online": 1767987010,
"icon": null,
"name": "[CS2] qqbasement - 5x5 #1",
"connect": null,
"request": null,
"map": "de_nuke_snow",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 21,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1747719643,
"last_update": 1768888818,
"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": 11828,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "deckrimenant",
"avatar": "d6d509d2-a3a2-45b2-9db5-391991799e9a.jpg",
"last_online": 1775068302
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9317827");
$data = json_decode($json, true);
var_dump($data);