Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10419041
json
{
  "response": {
    "steam_id": "90278429881520143",
    "domain": null,
    "id": 10419041,
    "ip": "208.75.182.201",
    "port": 27575,
    "query": 27576,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768554207,
    "last_online": 1781290869,
    "icon": null,
    "name": "The Mothership Vampires",
    "connect": "208.75.182.201:27575",
    "request": "208.75.182.201:27576",
    "map": "VRisingWorld",
    "gamemode": "dc3613a4-580f-46bf-9f1a-dd9564780872",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1759825531,
    "last_update": 1781290869,
    "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": 1054,
    "language": "en",
    "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/10419041");
$data = json_decode($json, true);
var_dump($data);