Rust
Gatvol Test Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10871049json
{
"response": {
"fps": 67,
"fps_avg": 63,
"entities_count": 70685,
"world_seed": 1408252380,
"world_size": 3500,
"steam_id": "90284498948314123",
"domain": null,
"id": 10871049,
"ip": "41.76.213.189",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Sandton",
"description": "\nWelcome to Gatvol NO KOS ZA | Solo | Duo | Trio \r\n\r\n Fair raids. Controlled PvP. No nonsense. Built for chill grinders, ZA warriors & real Rust lovers \r\n• NO KOS — PvP in zones only\r\n• Raiding only during set hours\r\n• Max 3 players per team (Solo/Duo/Trio)\r\n• Daily restart @ 04:00 to keep it smooth\r\n• Friendly ZA community | Active Admins\r\n• Join our Discord: discord.gg/Dvs84WPgZs \r\n•Sponsored and Hosted by BluePrint Hosting",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776882155,
"score": 0,
"last_online": 1776361224,
"icon": null,
"name": "Gatvol Test Server",
"connect": "41.76.213.189:28025",
"request": "41.76.213.189:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768318509,
"last_update": 1776882155,
"banned": false,
"wipe": 1773523640,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8477,
"language": "en",
"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/10871049");
$data = json_decode($json, true);
var_dump($data);