Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9721289
json
{
  "response": {
    "steam_id": "90281661179986949",
    "domain": null,
    "id": 9721289,
    "ip": "51.161.86.186",
    "port": 27480,
    "query": 27481,
    "color": 0,
    "city": "Montreal",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768642534,
    "score": 0,
    "last_online": 1777666317,
    "icon": null,
    "name": "meep morp deutsche",
    "connect": "51.161.86.186:27480",
    "request": "51.161.86.186:27481",
    "map": "VRisingWorld",
    "gamemode": "a0ba6921-fddc-41bc-bcb6-2c5c89cffc6b",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1752140820,
    "last_update": 1777666317,
    "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": 671,
    "language": "en",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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