Rust
API для ALTAR | TR/EU | TRIO | MONTHLY | FULL WIPE 02.04
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11158361json
{
"response": {
"fps": 25,
"fps_avg": 25,
"entities_count": 58511,
"world_seed": 56732567,
"world_size": 3800,
"steam_id": "90284752501870622",
"domain": null,
"id": 11158361,
"ip": "185.255.94.236",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Istanbul",
"description": "\nWelcome to ALTAR 2x!\r\n\r\n- Group Limit: Max 3 (Trio)\r\n- Wipe Cycle: Monthly\r\n- Raid Hours: 15:00 - 02:00\r\n- No Animal Attacks\r\n- 2x Rates / Trade System\r\n- Active Admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775850128,
"score": 0,
"last_online": 1776825622,
"icon": null,
"name": "ALTAR | TR/EU | TRIO | MONTHLY | FULL WIPE 02.04",
"connect": "185.255.94.236:28015",
"request": "185.255.94.236:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "TR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228108,
"last_update": 1776825622,
"banned": false,
"wipe": 1775157488,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4498,
"language": "tr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11158361");
$data = json_decode($json, true);
var_dump($data);