API pentru theBRIDGE | RUSTX | 5X
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 92587,
"world_seed": 509261183,
"world_size": 4000,
"steam_id": "90286612523033617",
"domain": null,
"id": 11606866,
"ip": "163.245.194.98",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Secaucus",
"description": "\nMake friends, kill, loot, troll, develop a reputation, have fun, be respectful, and don't cry. We are happy to invite you to a balanced RUST experience presented by multi-gaming community theBRIDGE. Players are encouraged to interact with one another, but this is RUST and you will be killed on sight from time to time. Join the discord, talk in chat, get to know community members, and be part of our growth. Welcome to theBRIDGE! https://discord.gg/QD7dQDvtA3",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780630829,
"icon": null,
"name": "theBRIDGE | RUSTX | 5X",
"connect": "163.245.194.98:28015",
"request": "163.245.194.98:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915486,
"last_update": 1780630829,
"banned": false,
"wipe": 1780597998,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5131,
"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/11606866");
$data = json_decode($json, true);
var_dump($data);