Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11305937
json
{
  "response": {
    "fps": 51,
    "fps_avg": 58,
    "entities_count": 69136,
    "world_seed": 1476804011,
    "world_size": 3700,
    "steam_id": "90284799340771358",
    "domain": null,
    "id": 11305937,
    "ip": "212.192.29.242",
    "port": 23115,
    "query": 23117,
    "color": 0,
    "city": "Dallas",
    "description": "![OUTPOST 2x Monthly |Solo/Duo/Trio| No BP Wipe](https://www.dropbox.com/scl/fi/92uzhbmc8vd4kbhk7csu7/1024x512_1.1.png?rlkey=0zfgrcr0hh9ictmp7v0izpqce&st=2wv56axf&dl=1)\nOutpostRust.com - The most fun modded servers \r\n \r\nMap - Force Wipe & Monthly  | No Blueprints Wipe \r\nJoin us: Discord.gg/OutpostRust \r\n \r\n→ Group Limit: 3 \r\n→ 2x Gather Rates \r\n→ 2x Smelting/Recycling/Crafting Speed \r\n→ 50% Upkeep \r\n→ Increased Autoturret limits \r\n→ Some minis spawn on roads \r\n→ Long Day & Short Night \r\n \r\nRules: \r\n● No Cheating \r\n● No intentional bug abuse \r\n● No EAC/Game banned alts \r\n● No stream sniping, doxxing, or IRL threats. \r\n \r\nActive Non-Playing Admin Team \r\n \r\n↓↓ Click to join discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776357826,
    "score": 0,
    "last_online": 1776838820,
    "icon": null,
    "name": "OUTPOST 2x Monthly |Solo/Duo/Trio| No BP Wipe",
    "connect": "212.192.29.242:23115",
    "request": "212.192.29.242:23117",
    "map": "Wiped - 19 days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592905,
    "last_update": 1776838820,
    "banned": false,
    "wipe": 1775155707,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5217,
    "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/11305937");
$data = json_decode($json, true);
var_dump($data);