API pentru The RoadHouse 2x Quads | Monthly wipe
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 96,
"fps_avg": 84,
"entities_count": 140329,
"world_seed": 32767,
"world_size": 5000,
"steam_id": "90286240012266512",
"domain": null,
"id": 11502361,
"ip": "15.204.160.226",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Reston",
"description": "\nWelcome to The RoadHouse!\r\n\r\nSETTINGS:\r\n- 2x Gather, Loot, & Stacks\r\n- 2x Smelting Speed\r\n- Quads Max (Team/Clan)\r\n- 12hr Noob Raid Protection\r\n\r\nSCHEDULE:\r\n- Wipes Monthly on first thursday of the month , but wipes will start in June\r\n\r\nDiscord: discord.gg/theroadhouse",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779207199,
"last_online": 1780554029,
"icon": null,
"name": "The RoadHouse 2x Quads | Monthly wipe",
"connect": "15.204.160.226:28015",
"request": "15.204.160.226:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207199,
"last_update": 1780554029,
"banned": false,
"wipe": 1778188788,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4897,
"language": "en",
"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/11502361");
$data = json_decode($json, true);
var_dump($data);