Hired Ops
API для MSK5-LKQVKR
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1926014json
{
"response": {
"steam_id": "90285752981968917",
"domain": null,
"id": 1926014,
"ip": "92.223.103.42",
"port": 28096,
"query": 27096,
"color": 0,
"city": "Moscow",
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1778791376,
"score": null,
"last_online": 1778781618,
"icon": null,
"name": "MSK5-LKQVKR",
"connect": "92.223.103.42:28096",
"request": "92.223.103.42:27096",
"map": "11",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1700746551,
"last_update": 1778791376,
"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": 1435,
"language": "ru",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1926014");
$data = json_decode($json, true);
var_dump($data);