Counter-Strike 2
API für 💚[CS2] GROZNYCS.RU💚 | MIRAGE ONLY #1 | !KNIFE !SKINS
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/4958800json
{
"response": {
"steam_id": "85568392925072874",
"domain": null,
"id": 4958800,
"ip": "45.95.31.196",
"port": 27415,
"query": 27415,
"color": 4,
"city": "Moscow",
"description": "[{\"id\":\"p7VRU9x_BK\",\"type\":\"paragraph\",\"data\":{\"text\":\"На этом сервере вы можете не только поиграть, но и завести себе друзей с которыми будете играть в другие различные игры)\"}}]",
"game": 730,
"owner": 82850,
"boosts": 14,
"last_offline": 1766770886,
"score": 4.8,
"last_online": 1775755209,
"icon": null,
"name": "💚[CS2] GROZNYCS.RU💚 | MIRAGE ONLY #1 | !KNIFE !SKINS",
"connect": "45.95.31.196:27415",
"request": "45.95.31.196:27415",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 8,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 739,
"points": 13244,
"add_date": 1720130956,
"last_update": 1775755209,
"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": 15,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "6ker9",
"avatar": "70835ef7-f476-4d93-a693-df97958fe9aa.jpg",
"last_online": 1773774822
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/4958800");
$data = json_decode($json, true);
var_dump($data);