Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10877019
json
{
  "response": {
    "steam_id": "90284120020085777",
    "domain": null,
    "id": 10877019,
    "ip": "161.97.158.189",
    "port": 31200,
    "query": 31215,
    "color": 0,
    "city": "Lauterbourg",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775196132,
    "score": 0,
    "last_online": 1776802847,
    "icon": null,
    "name": "Bloodmoon PvP - x1.5 |Fresh Wipe |Killfeed |Duo",
    "connect": "161.97.158.189:31200",
    "request": "161.97.158.189:31215",
    "map": "VRisingWorld",
    "gamemode": "56e0786e-b1ed-45a6-bd03-c9585fbd85e9",
    "version": "0.0.0.1",
    "numplayers": 1,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 31,
    "add_date": 1768319214,
    "last_update": 1776802847,
    "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": 178,
    "language": "fr",
    "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/10877019");
$data = json_decode($json, true);
var_dump($data);