Rust
API pentru BRUTAL RUST | PVE | ZOMBIES-EVENTS-BUILDING | MONTHLY
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10714370json
{
"response": {
"fps": 62,
"fps_avg": 60,
"entities_count": 149719,
"world_seed": 3486489,
"world_size": 4000,
"steam_id": "90284839378350099",
"domain": null,
"id": 10714370,
"ip": "179.61.132.160",
"port": 27015,
"query": 27014,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nBRUTAL RUST Servers – Everything in One Place!\r\n\r\nJOIN US AND EXPERIENCE A UNIQUE ADVENTURE WHERE YOU'LL DISCOVER A WHOLE NEW WORLD, MAKE NEW FRIENDS, AND FACE DIFFERENT TYPES OF ENEMIES, WITH PURGE 24 HOURS BEFORE THE MAP WIPE.\r\n\r\n- EVENTS\r\n- 24/7 STAFF\r\n- ANTI-CHEAT SYSTEM\r\n- CONSTANT MAINTENANCE & DEVELOPMENT\r\n- LEVEL EXPERIENCE\r\n- CUSTOM SKINS\r\n- STORE ROBBERIES\r\n- ABANDONED BASES\r\n- CUSTOM MONUMENTS\r\n\r\nHOSTED BY FreakHosting.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776799400,
"score": 0,
"last_online": 1776961819,
"icon": null,
"name": "BRUTAL RUST | PVE | ZOMBIES-EVENTS-BUILDING | MONTHLY",
"connect": "179.61.132.160:27015",
"request": "179.61.132.160:27014",
"map": "Wiped 20 days ago",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1765132145,
"last_update": 1776961819,
"banned": false,
"wipe": 1775152949,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2023,
"language": "de",
"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/10714370");
$data = json_decode($json, true);
var_dump($data);