Rust
API для [RU] SPRUST [1X VANILLA] | VIPE 19.04
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489563json
{
"response": {
"fps": 107,
"fps_avg": 114,
"entities_count": 68731,
"world_seed": 313825528,
"world_size": 3500,
"steam_id": "90284746793112595",
"domain": null,
"id": 11489563,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[]",
"game": 252490,
"owner": 189267,
"boosts": 1,
"last_offline": 1776651797,
"score": 0,
"last_online": 1776793218,
"icon": null,
"name": "[RU] SPRUST [1X VANILLA] | VIPE 19.04",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1776596112,
"last_update": 1776793218,
"banned": false,
"wipe": 1776610187,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": true,
"hide_query": false,
"position_game": 414,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "drunn",
"avatar": "91bf3d8c-4b05-4e6c-b739-e3cfd5e72520.jpg",
"last_online": 1776689097
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489563");
$data = json_decode($json, true);
var_dump($data);