API pentru RUST BULGARIA NETWORK
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 109408,
"world_seed": 1177043290,
"world_size": 4250,
"steam_id": "90286588424081434",
"domain": null,
"id": 9066437,
"ip": "45.144.155.85",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Plovdiv",
"description": "\nWelcome to Rust Bulgaria Network 2x!\r\n\r\nWARNING\r\n☐ Rust is a tough game and you have to survive as you see fit.\r\n☐ If something it's not forbidden, then it's allowed.\r\n☐ Only the strongest players will survive here.\r\n☐ This is a mature game and the chat is unmoderated.\r\n☐ Cheating will result in a permanent BAN!\r\n\r\nINFORMATION\r\n☐ Full Monthly Wipes\r\n☐ Unique QOL Changes\r\n☐ Active Administrator\r\n☐ Anti Offline Raiding\r\n\r\nGood Luck!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780563869,
"last_online": 1780569628,
"icon": null,
"name": "RUST BULGARIA NETWORK",
"connect": "45.144.155.85:28015",
"request": "45.144.155.85:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 69,
"bots": 0,
"secured": true,
"private": false,
"country": "BG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1747040112,
"last_update": 1780569628,
"banned": false,
"wipe": 1778177466,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3126,
"language": "bg",
"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/9066437");
$data = json_decode($json, true);
var_dump($data);