API для EXONCS.RU #3 | Only AWP !SKINS !KNIFE !VIP
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "85568392936334513",
"domain": null,
"id": 11492541,
"ip": "45.95.31.191",
"port": 27215,
"query": 27215,
"project_id": 14,
"color": 1,
"city": "Moscow",
"description": "[{\"id\":\"LtMjPkfESd\",\"type\":\"paragraph\",\"data\":{\"text\":\"**Добро пожаловать на сервера EXONCS.RU\\nБолее 200 кастомных пушек, которые можно купить у нас на сайте.**\"}}]",
"game": 730,
"owner": 169076,
"boosts": 11,
"last_offline": 1780847660,
"last_online": 1781201412,
"icon": null,
"name": "EXONCS.RU #3 | Only AWP !SKINS !KNIFE !VIP",
"connect": "45.95.31.191:27215",
"request": "45.95.31.191:27215",
"map": "awp_lego_2",
"gamemode": "Counter-Strike 2",
"version": "1.41.6.5",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 3,
"points": 1023,
"add_date": 1778944109,
"last_update": 1781201412,
"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": 9,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "artur_tt",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11492541");
$data = json_decode($json, true);
var_dump($data);