Icarus
API для YHN127
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8635433json
{
"response": {
"steam_id": "90273801936009242",
"domain": null,
"id": 8635433,
"ip": "123.60.155.245",
"port": 7777,
"query": 8888,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1776817349,
"score": 0,
"last_online": 1776787253,
"icon": null,
"name": "YHN127",
"connect": "123.60.155.245:7777",
"request": "123.60.155.245:8888",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1745183809,
"last_update": 1776817349,
"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": 6401,
"language": "zh",
"parked": false,
"app": {
"id": 1600891,
"steam_id": 1149460,
"name": "Icarus",
"url": "icarus"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8635433");
$data = json_decode($json, true);
var_dump($data);