प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/10973372
json
{
  "response": {
    "modded": true,
    "fps": 40,
    "fps_avg": 38,
    "entities_count": 165142,
    "world_seed": 25828741,
    "world_size": 3750,
    "steam_id": "90284735429376008",
    "domain": null,
    "id": 10973372,
    "ip": "168.100.162.92",
    "port": 28025,
    "query": 28023,
    "color": 0,
    "city": "Dallas",
    "description": "![US Rusty Rats 2x Monthly Main | 50% Upkeep | No BP Wipe](https://i.imgur.com/sVFgw1x.png)\nWelcome to Rusty Rats - Monthly wipes occur on the first Thursday of the month at 2 PM EST\r\nKey Features:\r\n- 2x Gather (1.5x Sulfur)\r\n- 2x Smelt, Recycling, and Stack Sizes\r\n- No Team Limit\r\n- Balanced Loot Tables (No Junk Items)\r\n- Blueprints do not wipe\r\n- 50% Upkeep\r\n- 5-Minute Nights & Long Days\r\n- QoL Improvements that doesn't affect gameplay\r\n- Raid Alarm - When your base comes under attack, Rust+ will notify you of the event\r\n- Some minicopters and boats will spawn\r\n- Extra recyclers at places like Dome, Oil Rig, Ranches, Large Barns and Fishing Villages\r\n- Drone marketplaces can be found at all Fishing Villages and Ranches\r\n- Bandit Camp is merged into outpost for better FPS performance\r\n- FREE Skinbox, Skinner, Custom Wallpapers, Box Sorter, and Auto Auth\r\n- Active, friendly and non playing admins\r\n- And so much more! View commands and server information with /help",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776823816,
    "icon": null,
    "name": "US Rusty Rats 2x Monthly Main | 50% Upkeep | No BP Wipe",
    "connect": "168.100.162.92:28025",
    "request": "168.100.162.92:28023",
    "map": "Wiped 19 days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 10,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1769678749,
    "last_update": 1776823816,
    "banned": false,
    "wipe": 1775152436,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1073,
    "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/10973372");
$data = json_decode($json, true);
var_dump($data);