Rust
API для AR #1 RUSTARG.COM [X6|MAX8][3ERAS]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10633552json
{
"response": {
"fps": 133,
"fps_avg": 134,
"entities_count": 42651,
"world_seed": 459401679,
"world_size": 2800,
"steam_id": "90284733743757321",
"domain": null,
"id": 10633552,
"ip": "181.90.15.82",
"port": 22813,
"query": 22814,
"color": 0,
"city": "Córdoba",
"description": "![AR #1 RUSTARG.COM [X6|MAX8][3ERAS]](https://i.imgur.com/nICaim9.png)\nChe, si sos Argentino, por qué no estás jugando en el Servidor Oficial de Rust ARGENTINA!? Dale, sumate y apoyá la experiencia en la región loco! XD\r\n\r\nDía: X6|Q10X|Ex15X - Noche: X12|Q20X|Ex30X. Profit = Carbón.\r\nFull Wipe solo los Jueves 15Hs. (GMT-3) Lunes conserva BPs. Kits, Mini, Trade y Water Bases.\r\nEventos: Raidable Bases, Water Event, Convoy, Space, Water Treatment Event, Cargo Train Event, Bradley Guards, Airfield Event, Cargo Plane Crash y más!\r\n\r\nAdministración activa 24/7: https://rustarg.com/discord\r\nVisitanos en https://www.rustargentina.com/",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776769402,
"score": 0,
"last_online": 1776847220,
"icon": null,
"name": "AR #1 RUSTARG.COM [X6|MAX8][3ERAS]",
"connect": "181.90.15.82:22813",
"request": "181.90.15.82:22814",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 320,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763713845,
"last_update": 1776847220,
"banned": false,
"wipe": 1776707975,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3914,
"language": "es",
"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/10633552");
$data = json_decode($json, true);
var_dump($data);