Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501081
json
{
  "response": {
    "fps": 226,
    "fps_avg": 224,
    "entities_count": 29282,
    "world_seed": 1621598040,
    "world_size": 2500,
    "steam_id": "90286575612283930",
    "domain": null,
    "id": 11501081,
    "ip": "46.4.106.230",
    "port": 50101,
    "query": 50102,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Saksonia Rust — 2x Solo/Duo — No BP Wipe](https://i.ibb.co/hwN83Zs/NO-BPs-WIPE-BIWEEKLY-JOIN-US-1.png)\nWelcome to Saksonia Rust!\r\n\r\nServer Settings:\r\n- Team Limit: Solo/Duo Only\r\n- Gather Rate: 2x Resources, Components & Scrap\r\n- Wipe Cycle: Weekly (Every Sunday)\r\n\r\nRules:\r\n- Strictly Solo/Duo. No teaming or roaming with players outside your group.\r\n- No toxic behavior or cheating.\r\n\r\nLast Wipe: May 24\r\nNext Wipe: June 1\r\n\r\nEnjoy your stay and have fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779963774,
    "last_online": 1780604431,
    "icon": null,
    "name": "Saksonia Rust — 2x Solo/Duo — No BP Wipe",
    "connect": "46.4.106.230:50101",
    "request": "46.4.106.230:50102",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207167,
    "last_update": 1780604431,
    "banned": false,
    "wipe": 1779613417,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4536,
    "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/11501081");
$data = json_decode($json, true);
var_dump($data);