Counter-Strike
API для [www.21e.pro] Oficial #1 [Rangos=Dinero] [Eventos por Plata]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10154878json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10154878,
"ip": "23.26.135.60",
"port": 27050,
"query": 27050,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 10,
"owner": 144165,
"boosts": 1,
"last_offline": 1774955526,
"score": 5,
"last_online": 1776193818,
"icon": null,
"name": "[www.21e.pro] Oficial #1 [Rangos=Dinero] [Eventos por Plata]",
"connect": "23.26.135.60:27050",
"request": "23.26.135.60:27050",
"map": "de_train_2x2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1756205872,
"last_update": 1776193818,
"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": 2562,
"language": "nl",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "21eSports",
"avatar": "0ef995c4-112d-4048-815a-9d6f97d5f11d.jpg",
"last_online": 1762343622
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10154878");
$data = json_decode($json, true);
var_dump($data);