Counter-Strike: Global Offensive
API для 🌀🌀🌀 УЛЁTHЫЙ 🌀 DUST2 SGaming.RU
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11221578json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11221578,
"ip": "46.174.55.40",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Moscow",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1774857131,
"score": 0,
"last_online": 1775778624,
"icon": null,
"name": "🌀🌀🌀 УЛЁTHЫЙ 🌀 DUST2 SGaming.RU",
"connect": "46.174.55.40:27021",
"request": "46.174.55.40:27021",
"map": "de_dust2",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 2,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1772870659,
"last_update": 1775778624,
"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": 523,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11221578");
$data = json_decode($json, true);
var_dump($data);