Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10922509
json
{
  "response": {
    "fps": 119,
    "fps_avg": 120,
    "entities_count": 126141,
    "world_seed": 440295162,
    "world_size": 4500,
    "steam_id": "90286552674804759",
    "domain": null,
    "id": 10922509,
    "ip": "135.148.137.50",
    "port": 60427,
    "query": 60429,
    "color": 0,
    "city": "Warrenton",
    "description": "![Exotic Haven | US | Monthly 2X | NPCS | RBs | Shop | JUST WIPED](https://www.dropbox.com/scl/fi/g2y8nwyrpifcs8nhqdwys/Rust-Server-Updated-Background.jpg?rlkey=jjn9zx69axgah5ezk37qs6wkd&st=cegz8sa4&dl=1)\nJoin a thriving, Player-driven, Highly Custom Map and unique NPCs \r\n • Explore the map with Custom Rust Cars and Flying Carpet!! \r\n • 500+ rotating Raidable NPC Bases of varying difficulty \r\n • Risk-free opt-in battle royale style PvP Arenas \r\n • Premium Events with High Tier Loot \r\n \r\n Join our other players on Discord! Suggest ideas, report bugs, or just come hang out— we want to create the best memories together.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780482240,
    "last_online": 1780588235,
    "icon": null,
    "name": "Exotic Haven | US | Monthly 2X | NPCS | RBs | Shop | JUST WIPED",
    "connect": "135.148.137.50:60427",
    "request": "135.148.137.50:60429",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768476960,
    "last_update": 1780588235,
    "banned": false,
    "wipe": 1780026035,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4041,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10922509");
$data = json_decode($json, true);
var_dump($data);