Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11606514
json
{
  "response": {
    "fps": 156,
    "fps_avg": 168,
    "entities_count": 31393,
    "world_seed": 1220684094,
    "world_size": 2500,
    "steam_id": "90286455781404680",
    "domain": null,
    "id": 11606514,
    "ip": "62.131.48.28",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Spijkenisse",
    "description": "![Hyves x UitgeRust|Solo Duo Trio|Low Upkeep|Small map](https://tse1.explicit.bing.net/th/id/OIP.jq3yKRAXHtTWn0Osc5tzEwHaDE?cb=thfc1falcon&w=720&h=299&rs=1&pid=ImgDetMain&o=7&rm=3)\nDont be toxic, just have fun\r\nReport a player? use F7 menu.\r\nWipe everyweek on friday 20:00 CEST time.\r\nJoin our Discord server for more info and server info.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780077822,
    "last_online": 1780547431,
    "icon": null,
    "name": "Hyves x UitgeRust|Solo Duo Trio|Low Upkeep|Small map",
    "connect": "62.131.48.28:28015",
    "request": "62.131.48.28:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915472,
    "last_update": 1780547431,
    "banned": false,
    "wipe": 1780078188,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5319,
    "language": "nl",
    "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/11606514");
$data = json_decode($json, true);
var_dump($data);