No More Room in Hell
API для 三方图 无限弹
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11070825json
{
"response": {
"steam_id": "90284386123934736",
"domain": null,
"id": 11070825,
"ip": "114.66.9.226",
"port": 2715,
"query": 2715,
"color": 0,
"city": "Beijing",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1776184317,
"score": 0,
"last_online": 1776247226,
"icon": null,
"name": "三方图 无限弹",
"connect": "114.66.9.226:2715",
"request": "114.66.9.226:2715",
"map": "nmo_scp-087",
"gamemode": "三方图 无限弹",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 9,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769973232,
"last_update": 1776247226,
"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": 197,
"language": "zh",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11070825");
$data = json_decode($json, true);
var_dump($data);