Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6842717
json
{
  "response": {
    "fps": 136,
    "fps_avg": 135,
    "entities_count": 207187,
    "world_seed": 6463003,
    "world_size": 5900,
    "steam_id": "90286585359587355",
    "domain": null,
    "id": 6842717,
    "ip": "104.219.238.184",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Buffalo",
    "description": "› Wipes only on Facepunch Force Wipes. (1st Thursday Every Month)\r\n› Rust+ Supported!\r\n› No Limits, Unlimited Teams.\r\n› Lag free co-located dedicated server.\r\n› Large 5k Map.\r\n› No ranks, No ads, No VIP, No nonsense: Just Rust.\r\n› True Anarchy Experience!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780387456,
    "last_online": 1780602033,
    "icon": null,
    "name": "[US] Happy Anarchists | 5k | No BP Wipe",
    "connect": "104.219.238.184:28015",
    "request": "104.219.238.184:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 128,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1733665336,
    "last_update": 1780602033,
    "banned": false,
    "wipe": 1778228043,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3173,
    "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/6842717");
$data = json_decode($json, true);
var_dump($data);