Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10413342
json
{
  "response": {
    "steam_id": 90286589701360660,
    "domain": null,
    "id": 10413342,
    "ip": "66.51.99.66",
    "port": 28005,
    "query": 28006,
    "color": 0,
    "city": "Dallas",
    "description": "![BeeCoolBuddy](https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.twitch.tv%2Fbeecoolbuddy&psig=AOvVaw0MGdg1y1Hb-WPToi7qk1MT&ust=1759770192206000&source=images&cd=vfe&opi=89978449&ved=0CBYQjRxqFwoTCKiR9PzEjZADFQAAAAAdAAAAABAE)\nHosted By The Hive \r\n - No Toxicity\r\n - Many Mods\r\n - Custom Build Sites purchasable with scrap at Outpost",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779876805,
    "last_online": 1780569633,
    "icon": null,
    "name": "BeeCoolBuddy",
    "connect": "66.51.99.66:28005",
    "request": "66.51.99.66:28006",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1759823835,
    "last_update": 1780569633,
    "banned": false,
    "wipe": 1778178643,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3455,
    "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/10413342");
$data = json_decode($json, true);
var_dump($data);