Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11511159
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 96277,
    "world_seed": 1937015146,
    "world_size": 3700,
    "steam_id": "90286599858456595",
    "domain": null,
    "id": 11511159,
    "ip": "91.134.62.35",
    "port": 20540,
    "query": 20541,
    "color": 0,
    "city": "Gravelines",
    "description": "![Blu Linux PVE [Monthly/Shop/Purge/Events]](https://cdn3.mapstr.gg/531a295259e3d85eeb69665e23b64df1.png)\nThis is a heavily modded Linux friendly server.     Monday-Friday: Full PVE   Saturday-Sunday: PVP   Europe | SkillTree | Skins | Weekend Raids | RaidableBases | Events | Levels | Monthly Monday Wipes   RaidableBases SkillTree Shop Skins Kits Dungeons Events  *** This server is constantly changing, feedback is encouraged! ***",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780626030,
    "icon": null,
    "name": "Blu Linux PVE [Monthly/Shop/Purge/Events]",
    "connect": "91.134.62.35:20540",
    "request": "91.134.62.35:20541",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 67,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353838,
    "last_update": 1780626030,
    "banned": false,
    "wipe": 1778479660,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4807,
    "language": "fr",
    "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/11511159");
$data = json_decode($json, true);
var_dump($data);