Rust
API для [LATAM] RUST_CHILE_PVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11160066json
{
"response": {
"fps": 218,
"fps_avg": 217,
"entities_count": 104710,
"world_seed": 1,
"world_size": 4300,
"steam_id": "90285667380589568",
"domain": null,
"id": 11160066,
"ip": "157.85.89.131",
"port": 27355,
"query": 27356,
"color": 0,
"city": "São Paulo",
"description": "![[LATAM] RUST_CHILE_PVE](https://drive.google.com/file/d/1R-hVGke_50oW6YwSx-G13VgFiZ3NklH3/view?usp=drive_link)\nNUEVO SERVIDOR PARA TODOS LOS LATINOS. EVENTOS DIRECTAMENTE POR LOS ADMIN. UN LUGAR PARA SALIR DE LOS PROBLEMAS DEL MUNDO REAL. ADMIN 24\\7 JUGADORES MAS TIEMPO CONECTADOS Y GENERAN BUEN AMBIENTE TIENEN LA POSIBILIDAD DE SER MODELADORES.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778535181,
"score": 0,
"last_online": 1778610021,
"icon": null,
"name": "[LATAM] RUST_CHILE_PVE",
"connect": "157.85.89.131:27355",
"request": "157.85.89.131:27356",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228151,
"last_update": 1778610021,
"banned": false,
"wipe": 1778475313,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4362,
"language": "pt",
"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/11160066");
$data = json_decode($json, true);
var_dump($data);