Counter-Strike 2
API для [CS2] LUMIPUB.RU - RANDOM MODELS #1
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11429909json
{
"response": {
"steam_id": "85568392925037656",
"domain": null,
"id": 11429909,
"ip": "45.95.31.215",
"port": 27415,
"query": 27415,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": 185609,
"boosts": 1,
"last_offline": 1775676727,
"score": 0,
"last_online": 1775762416,
"icon": null,
"name": "[CS2] LUMIPUB.RU - RANDOM MODELS #1",
"connect": "45.95.31.215:27415",
"request": "45.95.31.215:27415",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 2,
"points": 62,
"add_date": 1774857395,
"last_update": 1775762416,
"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": 586,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "lumipub",
"avatar": "68128b9c-460f-4376-b8bd-6929d717fc99.jpg",
"last_online": 1775762194
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11429909");
$data = json_decode($json, true);
var_dump($data);