Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10063349
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 81056,
    "world_seed": 817202959,
    "world_size": 3750,
    "steam_id": "90286411331519495",
    "domain": null,
    "id": 10063349,
    "ip": "108.74.19.235",
    "port": 28050,
    "query": 28051,
    "color": 0,
    "city": "Port Saint Lucie",
    "description": "![BattleGrounds 2X Solo/Duo](https://www.dropbox.com/scl/fi/12ka6ckmy404dy8d1gbd1/BGheader2xsoloduo.jpg?rlkey=nzvulc3b1sd19vijqzwvgwz4v&st=pyonpes1&dl=1)\nWelcome to BattleGrounds 2X Solo/Duo\r\n Wipes Every Friday 3PM EST\r\n 2x Gather Rates\r\n 2x Crafting Speed\r\n 2x Components and Scrap\r\n Recyclers at additional monuments\r\n Extended Workbench Range\r\n Longs Days & Short Nights\r\n Group Limit 2\r\n Active NON PLAYING ADMINS",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780148616,
    "last_online": 1780579841,
    "icon": null,
    "name": "BattleGrounds 2X Solo/Duo",
    "connect": "108.74.19.235:28050",
    "request": "108.74.19.235:28051",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1755187561,
    "last_update": 1780579841,
    "banned": false,
    "wipe": 1778182031,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3451,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "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/10063349");
$data = json_decode($json, true);
var_dump($data);