Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/1031181
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 84939,
    "world_seed": 231143930,
    "world_size": 3250,
    "steam_id": "90286588673395731",
    "domain": null,
    "id": 1031181,
    "ip": "54.37.244.33",
    "port": 28021,
    "query": 28019,
    "color": 0,
    "city": "London",
    "description": "![[EU] Bold | SOLO/DUO | Weekly | Newbie/Noob Friendly](https://boldruststorage.blob.core.windows.net/images/soloduobanner25.png)\nBold Rust | Fridays | SOLO/DUO | Noob Friendly \r\n - Rust's #1 New Player Friendly Server \r\n - High Performance UK Server, Zero Lag \r\n - Weekly Map Wipes (Fridays) | Biweekly BP Wipes \r\n - 50% Upkeep \r\n - Leaderboards, Stats & Progress Tracking \r\n - Rules: boldrust.gg \r\n - DISCORD: https://discord.gg/boldrust \r\n - Advanced & Custom Anticheat \r\n - Core Rules: Be respectful, Solo/Duo only, no cheats, no griefing, no despawn, no raids in first 24h \r\n - Most of all, have fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780563869,
    "last_online": 1780575032,
    "icon": null,
    "name": "[EU] Bold | SOLO/DUO | Weekly | Newbie/Noob Friendly",
    "connect": "54.37.244.33:28021",
    "request": "54.37.244.33:28019",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1688487389,
    "last_update": 1780575032,
    "banned": false,
    "wipe": 1780077894,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2445,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "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/1031181");
$data = json_decode($json, true);
var_dump($data);