API pentru Awaken Rust - NA 2x | No Junk | Shared BPs
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"oxide": true,
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 26632,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90286375109796886",
"domain": null,
"id": 11677428,
"ip": "45.45.238.131",
"port": 26015,
"query": 26017,
"color": 0,
"city": "Chicago",
"description": "Awaken Rust Servers | The most competitive Rust Server\r\n\r\nWipe Schedule:\r\nFriday @ 4pm EST\r\n\r\nFeatures:\r\n- 2x Gather\r\n- 3x Sulfur\r\n- 2x Boosted Loot Tables\r\n- Specialized Events\r\n\r\n Links:\r\n- discord.gg/oldrecoil\r\n- discord.gg/awakenrust\r\n\r\n24/7 Active Staff",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780353847,
"last_online": 1780654830,
"icon": null,
"name": "Awaken Rust - NA 2x | No Junk | Shared BPs",
"connect": "45.45.238.131:26015",
"request": "45.45.238.131:26017",
"map": "Awaken Rust Maps",
"gamemode": "Vanilla",
"version": "2336",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780216208,
"last_update": 1780654830,
"banned": false,
"wipe": 1780084759,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5573,
"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/11677428");
$data = json_decode($json, true);
var_dump($data);