Rust
API для Rusteon [EU] / 16/4 JUST WIPED / VANILLA / NO LIMIT
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10533110json
{
"response": {
"fps": 20,
"fps_avg": 20,
"entities_count": 48394,
"world_seed": 1868910976,
"world_size": 3000,
"steam_id": "90284793111530523",
"domain": null,
"id": 10533110,
"ip": "185.180.2.103",
"port": 28947,
"query": 27947,
"color": 0,
"city": "Prague",
"description": "![Rusteon [EU] / 16/4 JUST WIPED / VANILLA / NO LIMIT](https://i.imgur.com/Me2BMZ7.jpeg)\nVitaj na Rusteone – mieste, kde prežijú len tí najsilnejší. Čistý Vanilla/PvP zážitok, bez pay-to-win nezmyslov, len ty, príroda a ostatní hráči.\r\nAktívny admin tím dohliada na férovú hru. Žiadna zbytočná toxicita – len napätie, taktika a množstvo výbuchov! 💣\r\n\r\nWelcome to Rusteon – where only the toughest survive. A true Vanilla/PvP experience, no pay-to-win nonsense – just you, nature, and other players.\r\nOur active admin team ensures fair play. No pointless toxicity – only tension, tactics, and plenty of explosions!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775155932,
"score": 0,
"last_online": 1776878422,
"icon": null,
"name": "Rusteon [EU] / 16/4 JUST WIPED / VANILLA / NO LIMIT",
"connect": "185.180.2.103:28947",
"request": "185.180.2.103:27947",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518559,
"last_update": 1776878422,
"banned": false,
"wipe": 1776354793,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4038,
"language": "cs",
"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/10533110");
$data = json_decode($json, true);
var_dump($data);