Counter-Strike: Source
API для |34| V_I_B_E Public | SHOP | ВОЗРОЖДЕНИЯ
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9935482json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9935482,
"ip": "46.174.52.25",
"port": 27223,
"query": 27223,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": 0,
"last_online": 1776133839,
"icon": null,
"name": "|34| V_I_B_E Public | SHOP | ВОЗРОЖДЕНИЯ",
"connect": "46.174.52.25:27223",
"request": "46.174.52.25:27223",
"map": "de_inferno_csgo_cssold",
"gamemode": "Counter-Strike: Source v34",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1754119945,
"last_update": 1776133839,
"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": 1253,
"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/9935482");
$data = json_decode($json, true);
var_dump($data);