Rust
API pentru [EU-1] Hazzy.gg | Raid Simulator | Bed Wars | Aim | Wiped 05/07
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11004768json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 96207,
"world_seed": 1337,
"world_size": 6000,
"steam_id": "90285448385334301",
"domain": null,
"id": 11004768,
"ip": "147.135.213.101",
"port": 27075,
"query": 27077,
"color": 0,
"city": "Roubaix",
"description": "![[EU-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": 1,
"last_online": 1778178018,
"icon": null,
"name": "[EU-1] Hazzy.gg | Raid Simulator | Bed Wars | Aim | Wiped 05/07",
"connect": "147.135.213.101:27075",
"request": "147.135.213.101:27077",
"map": "discord.hazzy.gg",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 32,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1769938980,
"last_update": 1778178018,
"banned": false,
"wipe": 1778141147,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 520,
"language": "fr",
"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/11004768");
$data = json_decode($json, true);
var_dump($data);