Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/756656
json
{
  "response": {
    "fps": 115,
    "fps_avg": 114,
    "entities_count": 57250,
    "world_seed": 599674064,
    "world_size": 3500,
    "steam_id": "90284602186464264",
    "domain": null,
    "id": 756656,
    "ip": "64.42.177.215",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Seattle",
    "description": "Welcome to Banned!!!\r\n We are a PvE server with QoL improvements like: \r\n  Raidable Bases \r\n 5x resource and loot gathering \r\n Custom stack sizes \r\n Zombies \r\n Auto Base Upgrade \r\n Backpacks  \r\n Boss Monster \r\n Chest Stacks \r\n Convoy \r\n Furnace Splitter \r\n No Decay \r\n Quick Smelt \r\n Sign Artist \r\n Purchasable vehicles \r\n Skill Tree \r\n Teleportication \r\n Vehicle License \r\n Virtual Quarries \r\n and many more \r\n Our hard-rules are simple.  No Toxicity.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776510203,
    "score": null,
    "last_online": 1776510627,
    "icon": null,
    "name": "[US] Banned For Life - Solo/Duo/Trio/Quad",
    "connect": "64.42.177.215:28015",
    "request": "64.42.177.215:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1677864039,
    "last_update": 1776510627,
    "banned": false,
    "wipe": 1775923080,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3033,
    "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/756656");
$data = json_decode($json, true);
var_dump($data);