Hired Ops
API для
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8613266json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8613266,
"ip": "212.102.34.57",
"port": 28127,
"query": 27127,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776210074,
"score": 0,
"last_online": 1776019299,
"icon": null,
"name": null,
"connect": null,
"request": "212.102.34.57:27127",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1745002472,
"last_update": 1776210074,
"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": 3501,
"language": "nl",
"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/8613266");
$data = json_decode($json, true);
var_dump($data);