Rust
API для RustReborn.gg EU - Bedwars | AimTrain | Creative | Arena | FFA
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/439393json
{
"response": {
"fps": 5151498,
"fps_avg": 5151498,
"entities_count": 537021,
"world_seed": 1337,
"world_size": 6000,
"steam_id": 90284344207896600,
"domain": null,
"id": 439393,
"ip": "64.40.9.156",
"port": 28017,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nRustReborn.gg's Bedwars and Minigames Server, the original and best Bedwars around.\n\nModes:\n• Bedwars\n• Battlegrounds\n• Combat Arenas (Unlimited)\n• FFA\n• Targets/Aimbots (Unlimited Slots)\n• Creative (Unlimited Slots)\n• Parkour\n\nAll Servers:\n• connect eu.rustreborn.gg (CURRENT)\n• connect us.rustreborn.gg\n• connect au.rustreborn.gg\n\nSupport the Server:\n• https://store.rustreborn.gg\n\nNeed Support?\n• https://rustreborn.gg/discord\n\nLooking for ★ Premium servers?\n• We offer in-house premium matches, join matches labelled with the ★ star.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775690523,
"score": 1,
"last_online": 1776169209,
"icon": null,
"name": "RustReborn.gg EU - Bedwars | AimTrain | Creative | Arena | FFA",
"connect": "64.40.9.156:28017",
"request": "64.40.9.156:28015",
"map": "RR|Bedwars|Arenas|FFA|Creative",
"gamemode": "Rust Reborn Minigames",
"version": "2623",
"numplayers": 960,
"maxplayers": 1000,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 159,
"add_date": 1605728434,
"last_update": 1776169209,
"banned": false,
"wipe": 1776124800,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 22,
"language": "en",
"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/439393");
$data = json_decode($json, true);
var_dump($data);