Counter-Strike: Global Offensive
API для [MEA] Retakes #4 by DatHost | 128T | !ws !knife !gloves
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11220308json
{
"response": {
"steam_id": "90282539349403674",
"domain": null,
"id": 11220308,
"ip": "156.146.52.209",
"port": 27487,
"query": 27487,
"color": 0,
"city": "Istanbul",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1772829275,
"score": 0,
"last_online": 1775793013,
"icon": null,
"name": "[MEA] Retakes #4 by DatHost | 128T | !ws !knife !gloves",
"connect": "156.146.52.209:27487",
"request": "156.146.52.209:27487",
"map": "de_ancient",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 6,
"maxplayers": 9,
"bots": 0,
"secured": true,
"private": false,
"country": "TR",
"status": true,
"votes": 0,
"points": 68,
"add_date": 1772829275,
"last_update": 1775793013,
"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": 160,
"language": "tr",
"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/11220308");
$data = json_decode($json, true);
var_dump($data);