Rust
API pentru RustDecay PVE 200x - BUILD | SKILLS | EVENTS | SHOP | FUN
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/4599927json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 183107,
"world_seed": 1337,
"world_size": 5200,
"steam_id": "90285029026627614",
"domain": null,
"id": 4599927,
"ip": "91.229.114.72",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Chicago",
"description": "\n200x Resources!\r\n\r\nWIPE SCHEDULE\r\n●WIPE: BI-WEEKLY\r\n\r\nMAIN FEATURES\r\n●Unique Rust gameplay\r\n●Fun & engaging server events\r\n●Chest Stacking & Custom Stack sizes\r\n●In-game shop for easily obtainable items\r\n●Custom Maps and every monument\r\n●Easy loot & scrap w/ autolooting\r\n●Skin your items with 1000's of unapproved skins\r\n\r\nMORE INFORMATION\r\n●DISCORD: discord.gg/RUSTDECAY\r\n●STORE: store.rustdecay.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777284799,
"score": 0,
"last_online": 1777315219,
"icon": null,
"name": "RustDecay PVE 200x - BUILD | SKILLS | EVENTS | SHOP | FUN",
"connect": "91.229.114.72:28010",
"request": "91.229.114.72:28015",
"map": "discord.gg/rustdecay",
"gamemode": "Survival",
"version": "2623",
"numplayers": 15,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1717336673,
"last_update": 1777315219,
"banned": false,
"wipe": 1776377557,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 900,
"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/4599927");
$data = json_decode($json, true);
var_dump($data);