Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/8368738
json
{
  "response": {
    "steam_id": null,
    "domain": "s1.galaxy-rpg.online",
    "id": 8368738,
    "ip": "194.147.32.37",
    "port": 7777,
    "query": 7777,
    "color": 0,
    "city": "Dronten",
    "description": null,
    "game": 9000035,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773397886,
    "score": 0,
    "last_online": 1776360037,
    "icon": null,
    "name": "GalaxY I (0.3.7) [RUS/UA]",
    "connect": "s1.galaxy-rpg.online:7777",
    "request": "194.147.32.37:7777",
    "map": "San Andreas",
    "gamemode": "GalaxY-RPG (PC/Android)",
    "version": "0.3.7-R3",
    "numplayers": 104,
    "maxplayers": 1000,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 40,
    "add_date": 1743595184,
    "last_update": 1776360037,
    "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": 106,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 168,
      "steam_id": 9000035,
      "name": "Samp",
      "url": "samp"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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