Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11596695
json
{
  "response": {
    "steam_id": "90286569097803797",
    "domain": null,
    "id": 11596695,
    "ip": "153.196.53.32",
    "port": 28037,
    "query": 28035,
    "color": 0,
    "city": "Nagano",
    "description": "![[JP]Rustテストサーバー | x10 | No BPs | QC | experimenta](https://i.imgur.com/4epQs3I.png)\n現在試験運用中\r\n本サーバーはRustテストサーバーです。\r\n予告なくワイプ、再起動を行う場合があります。\r\nルール違反者は即BANします。\r\n参加又は詳細はディスコードにて\r\nhttps://discord.gg/ksmqzJU3uX",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780517057,
    "last_online": 1780594834,
    "icon": null,
    "name": "[JP]Rustテストサーバー | x10 | No BPs | QC | experimenta",
    "connect": "153.196.53.32:28037",
    "request": "153.196.53.32:28035",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779358596,
    "last_update": 1780594834,
    "banned": false,
    "wipe": 1778198580,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4861,
    "language": "ja",
    "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/11596695");
$data = json_decode($json, true);
var_dump($data);