Counter-Strike: Global Offensive
API для CSGUMI.PL #2
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488657json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488657,
"ip": "57.128.197.120",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1775747525,
"score": 0,
"last_online": 1775772634,
"icon": null,
"name": "CSGUMI.PL #2",
"connect": "57.128.197.120:27016",
"request": "57.128.197.120:27016",
"map": "de_dust2",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1775684032,
"last_update": 1775772634,
"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": 2158,
"language": "pl",
"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/11488657");
$data = json_decode($json, true);
var_dump($data);