Rust
Rust_PrivateServer_NaKS के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/9745916json
{
"response": {
"fps": 53,
"fps_avg": 46,
"entities_count": 69075,
"world_seed": 2080037968,
"world_size": 3500,
"steam_id": "90284306057406470",
"domain": null,
"id": 9745916,
"ip": "160.251.141.73",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chiyoda City",
"description": "No server description has been provided.This server will be a place for the server administrator and his friends to play privately. Users other than acquaintances of the server administrator will be forcibly removed as soon as they are discovered.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775433084,
"score": 0,
"last_online": 1776863422,
"icon": null,
"name": "Rust_PrivateServer_NaKS",
"connect": "160.251.141.73:28015",
"request": "160.251.141.73:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1752325068,
"last_update": 1776863422,
"banned": false,
"wipe": 1775186515,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3628,
"language": "ja",
"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/9745916");
$data = json_decode($json, true);
var_dump($data);