Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/3712882
json
{
  "response": {
    "fps": 121,
    "fps_avg": 120,
    "entities_count": 179415,
    "world_seed": 233098601,
    "world_size": 5000,
    "steam_id": 90286548863981580,
    "domain": null,
    "id": 3712882,
    "ip": "207.237.208.21",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Chicago",
    "description": "![Sofa King CHILL Rust 2X PVE Paradise - No Decay, Raidable Bases](https://i.imgur.com/gk4AINU.png)\n2x Gather | Super Stacks | No Decay | BP's Never Wipe \r\n \r\nRaidable Bases | Remove Tool | Economy | Custom Monuments\r\n \r\nFull Server Rules posted on the SKCR Discord. \r\nClick View Webpage below to join.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779988421,
    "last_online": 1780568429,
    "icon": null,
    "name": "Sofa King CHILL Rust 2X PVE Paradise - No Decay, Raidable Bases",
    "connect": "207.237.208.21:28015",
    "request": "207.237.208.21:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1712333617,
    "last_update": 1780568429,
    "banned": false,
    "wipe": 1778178585,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2496,
    "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/3712882");
$data = json_decode($json, true);
var_dump($data);