Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7251539
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7251539,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 1604030,
    "owner": 123568,
    "boosts": 1,
    "last_offline": 1762062760,
    "last_online": 1761163231,
    "icon": null,
    "name": "Crucible Zero [Modded PVP] [Bloodcraft][BountyFeeds][EVENTS]",
    "connect": null,
    "request": null,
    "map": "VRisingWorld",
    "gamemode": "db35a9d8-26fe-4bfb-a700-1ad68fcb6673",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1736629448,
    "last_update": 1762062760,
    "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": 4481,
    "language": "en",
    "parked": true,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": {
      "username": "vikandros",
      "avatar": "f36c7efa-9248-46ce-9d89-942fc23efee5.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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