API для Fragnet Arena Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "l",
"region": 255,
"product": "cs2",
"gametype": "empty,arena.fragnet.net,fragnet arena,high performance,insecure",
"dedicated": true,
"steam_id": "90291912281680913",
"domain": null,
"id": 14219183,
"ip": "91.218.114.220",
"port": 29409,
"query": 29409,
"project_id": null,
"color": 0,
"city": "Москва",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1788243653,
"last_online": 1788186656,
"icon": null,
"name": "Fragnet Arena Server",
"connect": "91.218.114.220:29409",
"request": "91.218.114.220:29409",
"map": "de_vertigo",
"gamemode": null,
"version": "1.41.7.8",
"numplayers": 0,
"maxplayers": 11,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1788042750,
"last_update": 1788243653,
"ban_reason": null,
"banned": false,
"hidden": 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": 10458,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14219183");
$data = json_decode($json, true);
var_dump($data);