Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/854139
json
{
  "response": {
    "steam_id": "90284217478547475",
    "domain": null,
    "id": 854139,
    "ip": "74.91.114.223",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Dallas",
    "description": "",
    "game": 440,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775920316,
    "score": null,
    "last_online": 1775950811,
    "icon": null,
    "name": "-EotL- Payload Extreme 5.0 | NO ADS",
    "connect": "74.91.114.223:27015",
    "request": "74.91.114.223:27015",
    "map": "cp_foundry",
    "gamemode": "EndOfTheLineGaming TF2",
    "version": "10515055",
    "numplayers": 40,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 94,
    "add_date": 1684658204,
    "last_update": 1775950811,
    "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": 7,
    "language": "en",
    "parked": false,
    "app": {
      "id": 24,
      "steam_id": 440,
      "name": "Team Fortress 2",
      "url": "team-fortress-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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