Half-Life Deathmatch: Source
API для Chopping Block -E ={X}=
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10889412json
{
"response": {
"steam_id": "90285043979998223",
"domain": null,
"id": 10889412,
"ip": "172.93.104.7",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Piscataway",
"description": null,
"game": 360,
"owner": null,
"boosts": 1,
"last_offline": 1776526999,
"score": 0,
"last_online": 1777506629,
"icon": null,
"name": "Chopping Block -E ={X}=",
"connect": "172.93.104.7:27015",
"request": "172.93.104.7:27015",
"map": "cross_nb2",
"gamemode": "Half-Life 1",
"version": "9540945",
"numplayers": 5,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1768322714,
"last_update": 1777506629,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 31,
"steam_id": 360,
"name": "Half-Life Deathmatch: Source",
"url": "half-life-deathmatch-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10889412");
$data = json_decode($json, true);
var_dump($data);