Rust
API для [BR] CLT Rustico SOLO/DUO Full Wipe [16/04]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10957800json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 126940,
"world_seed": 1337,
"world_size": 3350,
"steam_id": "90284801660891141",
"domain": null,
"id": 10957800,
"ip": "45.157.16.159",
"port": 28029,
"query": 28022,
"color": 0,
"city": "Jakarta",
"description": "![[BR] CLT Rustico SOLO/DUO Full Wipe [16/04]](https://i.imgur.com/ZqoXUFE.jpeg)\nBem Vindo ao CLT Rustico! \r\n ✓ Solo/Duo. \r\n ✓ Upkeep/Decay 50%. \r\n ✓ Sistema de Limite Máximo de Equipe. \r\n ✓ Wipe mapa a cada 15 dias. \r\n ✓ Proibido alianças, trapaças e qualquer tipo de ofensas. \r\n ✓ Ajude a manter o servidor vivo, não seja tóxico. \r\n \r\n \r\n \r\n Discord Oficial do Servidor no botão Site Externo...",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776845002,
"score": 0,
"last_online": 1776855019,
"icon": null,
"name": "[BR] CLT Rustico SOLO/DUO Full Wipe [16/04]",
"connect": "45.157.16.159:28029",
"request": "45.157.16.159:28022",
"map": "CLT Rustico",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "ID",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768741785,
"last_update": 1776855019,
"banned": false,
"wipe": 1776365811,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4378,
"language": "id",
"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/10957800");
$data = json_decode($json, true);
var_dump($data);