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

text
https://api.gamemonitoring.in/servers/7874589
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 415720,
    "world_seed": 2290,
    "world_size": 4250,
    "steam_id": "90284730961325062",
    "domain": null,
    "id": 7874589,
    "ip": "94.231.215.5",
    "port": 28015,
    "query": 28010,
    "color": 0,
    "city": "Chicago",
    "description": "![[US] Spoonkid Rust - 2x Monthly | 8 MAX | No BP Wipes](https://spoonkidrustmaps.com/Server_Banner_US_MONTHLY.png)\nSpoonkid Rust is a server that caters to the casual yet competitive friend group!\r\n\\t- Gather Rate is 2x\r\n\\t- Loot Tables are 2x\r\n\\t- Group Limit: Eight (8) (see below)\r\n• Join our Discord: discord.gg/spoonkidrust\r\n\r\n• Map Wipes Every Force Wipe\r\n\\t- First Thursday of the month @ 2pm ET\r\n• BPs NEVER wipe (never ever)\r\n• No walling off monuments \r\n\\t- With the exception of Quarries - (Excavator isn't a quarry)\r\n\r\n• Core Server Features:\r\n\\t- Custom Maps\r\n\\t- 50% Base Upkeep\r\n\\t- /rank\r\n\\t- Faster Oil Rig Respawns\r\n\\t- Quality of Life Eletrical BPs\r\n• VIP & MVP Avaliable\r\n\\t- Skinbox & Box Sorter & Furnace Splitter\r\n\\t- Extra Map Voting Points\r\n\r\n> Teaming Rules\r\n• No allies\r\n• No teaming\r\n• No raiding with other groups\r\n• No roaming with other groups\r\n\r\n• What's a 'Group'?\r\n\\t- A group is defined by a who is authed on the Code Locks, Tool Cupboard and has sleeping bags within a base.\r\n\r\n• How do I swap members?\r\n\\t- Destroy all bags & remove all their access to your base (TC, Codes)\r\n\\t- Kill the player\r\n\\t- NOTE: The swapped player must leave the server, and can no longer play.\r\n\r\n Please join our Discord for more information!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776762201,
    "score": 0,
    "last_online": 1776818410,
    "icon": null,
    "name": "[US] Spoonkid Rust - 2x Monthly | 8 MAX | No BP Wipes",
    "connect": "94.231.215.5:28015",
    "request": "94.231.215.5:28010",
    "map": "store.SpoonkidRust.com",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 97,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 105,
    "add_date": 1740344183,
    "last_update": 1776818410,
    "banned": false,
    "wipe": 1775152169,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 97,
    "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/7874589");
$data = json_decode($json, true);
var_dump($data);