Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10282793
json
{
  "response": {
    "steam_id": "90284554272725023",
    "domain": null,
    "id": 10282793,
    "ip": "213.136.75.246",
    "port": 28500,
    "query": 28515,
    "color": 0,
    "city": "Lauterbourg",
    "description": null,
    "game": 2646460,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776317513,
    "score": 0,
    "last_online": 1776445234,
    "icon": null,
    "name": "AngelsHomies",
    "connect": "213.136.75.246:28500",
    "request": "213.136.75.246:28515",
    "map": "DLC_Level01_Main",
    "gamemode": "10",
    "version": "1.0.0.0",
    "numplayers": 2,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 43,
    "add_date": 1757345135,
    "last_update": 1776445234,
    "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": 95,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 1625562,
      "steam_id": 2646460,
      "name": "Soulmask",
      "url": "soulmask"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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