Rust
12G Rust Build Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/5616257json
{
"response": {
"fps": 240,
"fps_avg": 232,
"entities_count": 4587,
"world_seed": 1337,
"world_size": 2500,
"steam_id": "90285426834063364",
"domain": null,
"id": 5616257,
"ip": "79.136.0.124",
"port": 38016,
"query": 38015,
"color": 0,
"city": "Angered",
"description": "\n12G Rust Build Server \r\n- Made for building RaidBases to our main server\r\n\r\n To get whitelisted\r\n - Play on the main server\r\n - Well known on the main server\r\n - Following the rules\r\n - Then you might get access\r\n\r\n:Please visit our homepage for more info: https://12guys.se or join discord https://discord.12guys.se",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775985713,
"score": 0,
"last_online": 1778701821,
"icon": null,
"name": "12G Rust Build Server",
"connect": "79.136.0.124:38016",
"request": "79.136.0.124:38015",
"map": "Building spaces",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1723694873,
"last_update": 1778701821,
"banned": false,
"wipe": 1775812862,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3116,
"language": "sv",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/5616257");
$data = json_decode($json, true);
var_dump($data);