Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10805131
json
{
  "response": {
    "fps": 83,
    "fps_avg": 89,
    "entities_count": 100875,
    "world_seed": 97823186,
    "world_size": 4250,
    "steam_id": "90286604964511756",
    "domain": null,
    "id": 10805131,
    "ip": "185.239.238.199",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "Münster",
    "description": "![[EU] RUST2.EU 5X SOLO DUO SHOP KIT (NO BPs) X5](https://i.ibb.co/zhMfPhV/rustlogo3.jpg)\n\r\n-> SOLO DUO - GROUP LIMIT 2\r\n-> 5x Gather, Fast Smelt, InstaCraft\r\n-> No Blueprints No Workbench\r\n-> Reduced Upkeep Better Loot\r\n-> Kits 4 all Free Skins\r\n-> Item Shop with Reward System\r\n-> Building Tools for fast building\r\n-> Fast Nights. Bow Spawnkit\r\n-> Minicopter free Cooldown 10 Min\r\n-> Rust+ Raid Alarm\r\n-> Admins dont play here\r\n-> Easy Buttons for less Commands",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780607656,
    "last_online": 1780599632,
    "icon": null,
    "name": "[EU] RUST2.EU 5X SOLO DUO SHOP KIT (NO BPs) X5",
    "connect": "185.239.238.199:28035",
    "request": "185.239.238.199:28036",
    "map": "RUST2.EU",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1766921201,
    "last_update": 1780607656,
    "banned": false,
    "wipe": 1780598549,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10172,
    "language": "de",
    "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/10805131");
$data = json_decode($json, true);
var_dump($data);