Rust
API для [NA-1] Hazzy.gg | Raid Simulator | Bed Wars | Aim | Wiped 05/07
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10780781json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 89170,
"world_seed": 1337,
"world_size": 6000,
"steam_id": "90285448465045512",
"domain": null,
"id": 10780781,
"ip": "104.194.11.39",
"port": 27075,
"query": 27077,
"color": 0,
"city": "Piscataway",
"description": "![[NA-1] Hazzy.gg | Raid Simulator | Bed Wars | Aim | Wiped 05/07](https://i.imgur.com/hrQzqx1.jpeg)\nWelcome to Hazzy.gg - Rust Minigames Arcade!\n\nJump into nonstop action with unique gamemodes:\n- Raid Simulator\n- Bed Wars\n- Aim Training\n- Counter Strike\n- FFA, Gun Game, Deathmatch\n- Helicopter Training\n\nNo farming. No waiting. Just PvP, skill, and fun.\n\nDiscord: discord.hazzy.gg\nWebsite: www.hazzy.gg\n\nEU Servers:\n[EU-1] Hazzy.gg Arcade\n[EU-2] Hazzy.gg 10x\n[EU-3] Hazzy.gg Main\n\nNA Servers:\n[NA-1] Hazzy.gg Arcade\n[NA-2] Hazzy.gg 10x",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778140985,
"score": 0,
"last_online": 1778174416,
"icon": null,
"name": "[NA-1] Hazzy.gg | Raid Simulator | Bed Wars | Aim | Wiped 05/07",
"connect": "104.194.11.39:27075",
"request": "104.194.11.39:27077",
"map": "discord.hazzy.gg",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 52,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 72,
"add_date": 1766872451,
"last_update": 1778174416,
"banned": false,
"wipe": 1778141193,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 477,
"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/10780781");
$data = json_decode($json, true);
var_dump($data);