Counter-Strike: Source
API для VK.COM/SOURCEGAMING_RU
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10712792json
{
"response": {
"steam_id": "90284079594834954",
"domain": null,
"id": 10712792,
"ip": "46.174.50.174",
"port": 28023,
"query": 28023,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775002932,
"score": 0,
"last_online": 1776166250,
"icon": null,
"name": "VK.COM/SOURCEGAMING_RU",
"connect": "46.174.50.174:28023",
"request": "46.174.50.174:28023",
"map": "awp_lego_2b",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765130807,
"last_update": 1776166250,
"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": 1384,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10712792");
$data = json_decode($json, true);
var_dump($data);