Rust
API for HostEZ - EU | AimTrain | Gun Game | FFA
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11435881json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 392,
"world_seed": 1337,
"world_size": 2000,
"steam_id": "90283730253345797",
"domain": null,
"id": 11435881,
"ip": "209.205.224.2",
"port": 29020,
"query": 29021,
"color": 0,
"city": "Ashburn",
"description": "\nRules:\r\n - No intentional bug abuse\r\n - No EAC / FP banned alts\r\n - No hacking / scripting\r\n - No ban evading\r\n - No racism\r\n - Have a fun time\r\n\r\nSite: hostez.io\r\nDiscord: hostez.io/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775690524,
"score": 0,
"last_online": 1776842421,
"icon": null,
"name": "HostEZ - EU | AimTrain | Gun Game | FFA",
"connect": "209.205.224.2:29020",
"request": "209.205.224.2:29021",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977210,
"last_update": 1776842421,
"banned": false,
"wipe": 1773071652,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5337,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11435881");
$data = json_decode($json, true);
var_dump($data);