Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10181670
json
{
  "response": {
    "steam_id": "90284646464685061",
    "domain": null,
    "id": 10181670,
    "ip": "92.204.167.5",
    "port": 20190,
    "query": 20191,
    "color": 0,
    "city": "Strasbourg",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774556503,
    "score": 0,
    "last_online": 1776813719,
    "icon": null,
    "name": "sizypherising",
    "connect": "92.204.167.5:20190",
    "request": "92.204.167.5:20191",
    "map": "VRisingWorld",
    "gamemode": "c75de299-5b6b-44db-bdca-907c7d30264a",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1756294577,
    "last_update": 1776813719,
    "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": 813,
    "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/10181670");
$data = json_decode($json, true);
var_dump($data);