Black Mesa
API для [EN/GB] Black Mesa Deathmatch | austino.net
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10757372json
{
"response": {
"steam_id": "90284381932239880",
"domain": null,
"id": 10757372,
"ip": "188.74.70.53",
"port": 27048,
"query": 27048,
"color": 0,
"city": "Portsmouth",
"description": null,
"game": 362890,
"owner": null,
"boosts": 1,
"last_offline": 1776204116,
"score": 0,
"last_online": 1776307247,
"icon": null,
"name": "[EN/GB] Black Mesa Deathmatch | austino.net",
"connect": "188.74.70.53:27048",
"request": "188.74.70.53:27048",
"map": "dm_subtransit",
"gamemode": "Black Mesa",
"version": "100002",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766255100,
"last_update": 1776307247,
"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": 20,
"language": "en",
"parked": false,
"app": {
"id": 4,
"steam_id": 362890,
"name": "Black Mesa",
"url": "black-mesa"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10757372");
$data = json_decode($json, true);
var_dump($data);