Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/3562297
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 45437,
    "world_seed": 560774670,
    "world_size": 3000,
    "steam_id": "90284743779870745",
    "domain": null,
    "id": 3562297,
    "ip": "103.62.50.10",
    "port": 28045,
    "query": 28046,
    "color": 0,
    "city": "Brisbane",
    "description": "Aussie Solo Grind\r\n Discord https://discord.gg/DZmA6detrN\r\nAU Based Server.  \r\nHone your skills, build your base, and forge your skills in this community built for survivalists of all experience levels.\r\n \r\n Join A Survivalist's Sanctuary!\r\n -Key Locks ONLY\r\n -No BP Wipes Unless Forcewipe\r\n -Slowed decay rates.\r\n\r\n -Raids only allowed  between \r\n-18:00 to 21:00 (AEST) weekdays.\r\n-10:00 to 23:00 (AEST) weekends.\r\n -Hackable creates only 5 minutes.\r\n -Eternal Plants.\r\n -Better TC.\r\n   \r\n see you on the battle field Survivalist's!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776753201,
    "score": null,
    "last_online": 1776837617,
    "icon": null,
    "name": "Aussie Solo Grind",
    "connect": "103.62.50.10:28045",
    "request": "103.62.50.10:28046",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1710961906,
    "last_update": 1776837617,
    "banned": false,
    "wipe": 1776753700,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1459,
    "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/3562297");
$data = json_decode($json, true);
var_dump($data);