Counter-Strike 2
API для FRISOERSTUBE-2.0
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10684909json
{
"response": {
"steam_id": "85568392935220357",
"domain": null,
"id": 10684909,
"ip": "217.154.228.203",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Berlin",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775633479,
"score": 0,
"last_online": 1775927440,
"icon": null,
"name": "FRISOERSTUBE-2.0",
"connect": "217.154.228.203:27016",
"request": "217.154.228.203:27016",
"map": "de_cbble_csgo",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764590231,
"last_update": 1775927440,
"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": 10244,
"language": "de",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10684909");
$data = json_decode($json, true);
var_dump($data);