Rust
API pentru #1 Rust404 - МОСКОВСКИЙ
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11189130json
{
"response": {
"fps": 26,
"fps_avg": 26,
"entities_count": 48864,
"world_seed": 982510533,
"world_size": 3000,
"steam_id": "90285144425207819",
"domain": null,
"id": 11189130,
"ip": "85.239.55.193",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Moscow",
"description": "\n#1RUST404 - ванильный сервер с оптимизацией процесса игры и продуманной экономией времени игрока.\r\n\r\nХАЛЯВНАЯ ПРИВИЛЕГИЯ и другие бонусы в ТГК: @rust404 (без ru)\r\nТГК Новости, конкурсы, розыгрыши и баны недели - @rust404 (без ru на конце)\r\n\r\nПРАВИЛА СЕРВЕРА:\r\n-читерство бан\r\n-рмт бан\r\nа больше правил нет, оскорбления в адрес администрации приветствуются!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777502603,
"score": 0,
"last_online": 1777554622,
"icon": null,
"name": "#1 Rust404 - МОСКОВСКИЙ",
"connect": "85.239.55.193:28015",
"request": "85.239.55.193:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699032,
"last_update": 1777554622,
"banned": false,
"wipe": 1777477288,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4654,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11189130");
$data = json_decode($json, true);
var_dump($data);