API для GRL Server#1
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90284500534637570,
"domain": null,
"id": 10957230,
"ip": "85.92.121.183",
"port": 26900,
"query": 26900,
"color": 0,
"city": "Karaganda",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1776812598,
"last_online": 1779691968,
"icon": null,
"name": "GRL Server#1",
"connect": "85.92.121.183:26900",
"request": "85.92.121.183:26900",
"map": "Navezgane",
"gamemode": "7 Days To Die",
"version": "01.02.05",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": true,
"country": "KZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768741601,
"last_update": 1779691968,
"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": 3629,
"language": "kk",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10957230");
$data = json_decode($json, true);
var_dump($data);