Counter-Strike: Source
API для [GunServer] УБOЙHЫЙ GunGame TURBO + FREE VIP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/66450json
{
"response": {
"steam_id": "85568392921342702",
"domain": null,
"id": 66450,
"ip": "91.109.202.114",
"port": 27030,
"query": 27030,
"color": 0,
"city": "Moscow",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1776051113,
"score": null,
"last_online": 1776133216,
"icon": null,
"name": "[GunServer] УБOЙHЫЙ GunGame TURBO + FREE VIP",
"connect": "91.109.202.114:27030",
"request": "91.109.202.114:27030",
"map": "gg_2012",
"gamemode": "Counter-Strike: Source",
"version": "6630498",
"numplayers": 17,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 57,
"add_date": 1521482132,
"last_update": 1776133216,
"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": 314,
"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/66450");
$data = json_decode($json, true);
var_dump($data);