Relaxing Rust | Linux Friendly | 10x | PVE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 101213,
"world_seed": 792636081,
"world_size": 4000,
"steam_id": "90286604109122572",
"domain": null,
"id": 1035743,
"ip": "156.236.84.23",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "\nWelcome! Relaxing Rust gives you the cross you wanted between PvP and PvE. You have 14 days to build your fortress after wipe, then you can test your build during our 24 hour PvP, purge, time.\r\n-- Play with friends in this relaxing Rust server. \r\n-- Raidable Bases\r\n-- PVE\r\n-- Linux Friendly",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778868777,
"last_online": 1780641634,
"icon": null,
"name": "Relaxing Rust | Linux Friendly | 10x | PVE",
"connect": "156.236.84.23:28015",
"request": "156.236.84.23:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1688593719,
"last_update": 1780641634,
"banned": false,
"wipe": 1780596683,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2271,
"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/1035743");
$data = json_decode($json, true);
var_dump($data);