Rust
API pentru RustGalaxy Nexus Hong Kong
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/9543746json
{
"response": {
"fps": 29,
"fps_avg": 28,
"entities_count": 124057,
"world_seed": 1647270951,
"world_size": 4250,
"steam_id": "90284755896789007",
"domain": null,
"id": 9543746,
"ip": "188.209.141.72",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Hong Kong",
"description": "\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775597607,
"score": 0,
"last_online": 1776876620,
"icon": null,
"name": "RustGalaxy Nexus Hong Kong",
"connect": "188.209.141.72:28015",
"request": "188.209.141.72:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1750544959,
"last_update": 1776876620,
"banned": false,
"wipe": 1775152461,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2063,
"language": "zh",
"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/9543746");
$data = json_decode($json, true);
var_dump($data);