Sniper Elite 4
API для [CN]HardCore Server QAQ | P10
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11219633json
{
"response": {
"steam_id": "90282351013663765",
"domain": null,
"id": 11219633,
"ip": "39.96.116.33",
"port": 27011,
"query": 27012,
"color": 0,
"city": "Beijing",
"description": null,
"game": 312660,
"owner": null,
"boosts": 1,
"last_offline": 1772701689,
"score": 0,
"last_online": 1776353439,
"icon": null,
"name": "[CN]HardCore Server QAQ | P10",
"connect": "39.96.116.33:27011",
"request": "39.96.116.33:27012",
"map": "DOCKYARD",
"gamemode": "SE4 Dedicated Server",
"version": "1.1.1.1",
"numplayers": 1,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1772701689,
"last_update": 1776353439,
"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": 4,
"language": "zh",
"parked": false,
"app": {
"id": 174,
"steam_id": 312660,
"name": "Sniper Elite 4",
"url": "sniper-elite-4"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11219633");
$data = json_decode($json, true);
var_dump($data);