API pentru ClubRetro-| SOLO/DUO/TRIO | SEASONAL THEMES | 6/4 WIPE | Dungeo
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 175,
"fps_avg": 190,
"entities_count": 71465,
"world_seed": 1485588084,
"world_size": 3750,
"steam_id": "90286609475398678",
"domain": null,
"id": 11502620,
"ip": "104.128.50.77",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Chicago",
"description": "Welcome to our Vanillaish mashup server. Each force wipe brings a seasonal theme check discord for details! Extended Workbench Range, 50% TC Upkeep, Offline Raid Protection, Junk loot removed and Improved loot tables. Raidable bases, Roaming NPC's and some PVE events for some added fun! Great for people just getting into rust and wanting to learn how to play. Updating and improving server play daily",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602268,
"last_online": 1780607429,
"icon": null,
"name": "ClubRetro-| SOLO/DUO/TRIO | SEASONAL THEMES | 6/4 WIPE | Dungeo",
"connect": "104.128.50.77:28015",
"request": "104.128.50.77:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779207206,
"last_update": 1780607429,
"banned": false,
"wipe": 1780602303,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2557,
"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/11502620");
$data = json_decode($json, true);
var_dump($data);