Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10669068
json
{
  "response": {
    "steam_id": "90283021027137539",
    "domain": null,
    "id": 10669068,
    "ip": "61.156.14.186",
    "port": 10109,
    "query": 10111,
    "color": 0,
    "city": "Jinan",
    "description": null,
    "game": 346110,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773711720,
    "score": 0,
    "last_online": 1776195024,
    "icon": null,
    "name": "墨染山河 12通仿官3倍 灭绝 搜1559",
    "connect": "61.156.14.186:10109",
    "request": "61.156.14.186:10111",
    "map": "Extinction",
    "gamemode": "TestGameMode_C",
    "version": "358.24",
    "numplayers": 6,
    "maxplayers": 127,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 34,
    "add_date": 1764578843,
    "last_update": 1776195024,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3010,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 67,
      "steam_id": 346110,
      "name": "ARK: Survival Evolved",
      "url": "ark-survival-evolved"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10669068");
$data = json_decode($json, true);
var_dump($data);