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

text
https://api.gamemonitoring.in/servers/10661478
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 64675,
    "world_seed": 2533510,
    "world_size": 3500,
    "steam_id": "90286604041023498",
    "domain": null,
    "id": 10661478,
    "ip": "51.38.162.122",
    "port": 28115,
    "query": 28116,
    "color": 0,
    "city": "Strasbourg",
    "description": "![[ESP/EU] SpainLand x2 | SOLO/DUO/TRIO | WIPED 21/5 | 3500](https://i.imgur.com/pSeX3NR.jpg)\n■ ESPAÑOL\r\n¡Bienvenidos a SpainLand X2 Vanilla+ & Loot+ & SOLO/DUO/TRIO!\r\nServidor modificado con Loot mejorado y recursos x2. \r\n# Realizamos Wipe de Recetas cada 2 semanas y Wipe de Mapa todos los Jueves a las 20:00h CET.\r\n# Prohibido el uso de Hacks, Scripts, Exploits... (Reportar usando F7 o /report).\r\n# El Stream Sniping es motivo de ban.\r\n# Stacks personalizados\r\n# Los ADMINs NO juegan, sólo administran.\r\n# AntiCheat\r\n# AntiDDoS 24/7\r\n\r\n■ ENGLISH\r\nWelcome to SpainLand x2 Vanilla+ & Loot+ & SOLO/DUO/TRIO!\r\nModified server with improved Loot and x2 resources. \r\n# We clear BP/Recipes every 2 weeks and Wipe the map every Thursday at 20:00h CET.\r\n# The use of Hacks, Scripts, Exploits... is prohibited (Report using F7 or /report).\r\n# Stream Sniping reason for ban.\r\n# Custom Stacks\r\n# ADMINs DO NOT play, only manage.\r\n# AntiCheat\r\n# AntiDDoS 24/7\r\nHosted by https://hostforgames.com/games/rust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780293247,
    "last_online": 1780599032,
    "icon": null,
    "name": "[ESP/EU] SpainLand x2 | SOLO/DUO/TRIO | WIPED 21/5 | 3500",
    "connect": "51.38.162.122:28115",
    "request": "51.38.162.122:28116",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764544748,
    "last_update": 1780599032,
    "banned": false,
    "wipe": 1780596157,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3135,
    "language": "fr",
    "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/10661478");
$data = json_decode($json, true);
var_dump($data);