Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10699434
json
{
  "response": {
    "fps": 240,
    "fps_avg": 238,
    "entities_count": 26268,
    "world_seed": 1924082392,
    "world_size": 2300,
    "steam_id": "90286549971795969",
    "domain": null,
    "id": 10699434,
    "ip": "162.220.160.66",
    "port": 28210,
    "query": 28015,
    "color": 0,
    "city": "Los Angeles",
    "description": "![The Lonely Admin PVE/PVP](https://i.imgur.com/bjmb0qA.png)\nA Rust server built for introverts who still want to enjoy the full Rust experience. Whether you like to roleplay with other introverts, stay mostly to yourself, or slowly meet new people at your own pace, this community was made to feel relaxed and low pressure. Featuring both PVE and PVP areas, players can choose how they want to survive, build, explore, trade, raid, or fight. New players are welcome, and you don’t need to be loud or constantly social to have fun here.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780588403,
    "last_online": 1780482026,
    "icon": null,
    "name": "The Lonely Admin PVE/PVP",
    "connect": "162.220.160.66:28210",
    "request": "162.220.160.66:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1765122752,
    "last_update": 1780588403,
    "banned": false,
    "wipe": 1778198118,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10599,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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