Counter-Strike: Source
API для StrikeArena.ru @ CS:S Bunny-Hop [#BLACKY TIMER 3.0]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/848971json
{
"response": {
"steam_id": 90284780774753310,
"domain": null,
"id": 848971,
"ip": "85.236.0.85",
"port": 28017,
"query": 28017,
"color": 0,
"city": "Tuapse",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1776809596,
"score": null,
"last_online": 1776840072,
"icon": null,
"name": "StrikeArena.ru @ CS:S Bunny-Hop [#BLACKY TIMER 3.0]",
"connect": "85.236.0.85:28017",
"request": "85.236.0.85:28017",
"map": "bhop_monster_jam",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 26,
"bots": 1,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684655867,
"last_update": 1776840072,
"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": 841,
"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/848971");
$data = json_decode($json, true);
var_dump($data);