Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11510861
json
{
  "response": {
    "steam_id": "90286601312907287",
    "domain": null,
    "id": 11510861,
    "ip": "187.124.162.99",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![The Looney Toons x3 | EU | Kits | BetterLoot | Store](https://i.imgur.com/eZIHDvx.jpeg)\nServer Commands & Features\r\n\r\nNavigation & Teleport\r\n/sethome - Set a home location\r\n/removehome - Remove a home\r\n/tpr - Request teleport to a player\r\n/tpa - Accept a teleport request\r\n/outpost - Teleport to the Outpost\r\n\r\nEconomy & Shopping\r\n/shop - Open the server store\r\n/kit - Claim item kits\r\n/trade - Trade items safely with other players\r\n\r\nInformation & Stats\r\n/pop - See how many players are online\r\n/stats - View your personal player stats\r\n/rank - See the server leaderboards\r\n/event - Check timers for automated events\r\n\r\nBuilding & Tools\r\n/remove - Enable the remover tool\r\n/sil - Upload an image to a sign\r\n/cff - Toggle team friendly fire\r\n\r\nTeam Management\r\n/team create - Start a new team\r\n/team invite - Invite a player to your team\r\n\r\nServer Rates\r\nGathering: Increased resources\r\nSmelting: Fast smelting in furnaces\r\nCrafting: Reduced crafting times\r\nLoot: Improved loot in barrels/crates\r\nCars: Modular cars spawn on map",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780589603,
    "last_online": 1780684837,
    "icon": null,
    "name": "The Looney Toons x3 | EU | Kits | BetterLoot | Store",
    "connect": "187.124.162.99:28015",
    "request": "187.124.162.99:28016",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353834,
    "last_update": 1780684837,
    "banned": false,
    "wipe": 1779464303,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5040,
    "language": "de",
    "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/11510861");
$data = json_decode($json, true);
var_dump($data);