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

text
https://api.gamemonitoring.in/servers/556634
json
{
  "response": {
    "modded": true,
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 72036,
    "world_seed": 1337,
    "world_size": 5000,
    "steam_id": "90284960032783381",
    "domain": null,
    "id": 556634,
    "ip": "208.52.153.63",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "Dallas",
    "description": "![Atlas - US 5x | No BPs | Kits](https://cdn.atlasrust.com/images/servers/us5x-thumbnail.jpg)\nAtlas Rust Servers | Made for the most competitive\r\n\r\nWipe times\r\n5:00 PM EST Wednesday\r\n3:00 PM EST Saturday\r\n\r\nLinks\r\n• discord.gg/atlasrust\r\n• store.atlasrustservers.com\r\nFeatures\r\n• 5X Gather\r\n• 10X Sulfur\r\n• 5X Loot (removed junk)\r\n• Custom events\r\n• Boosted custom kits\r\n\r\n24 hours discord staff support",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776892396,
    "score": null,
    "last_online": 1777154422,
    "icon": null,
    "name": "Atlas - US 5x | No BPs | Kits",
    "connect": "208.52.153.63:28010",
    "request": "208.52.153.63:28015",
    "map": "discord.gg/atlasrust",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1665918749,
    "last_update": 1777154422,
    "banned": false,
    "wipe": 1777143505,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2115,
    "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/556634");
$data = json_decode($json, true);
var_dump($data);