Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11501262
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 97938,
    "world_seed": 652719637,
    "world_size": 4000,
    "steam_id": "90286590791569419",
    "domain": null,
    "id": 11501262,
    "ip": "157.85.95.115",
    "port": 27552,
    "query": 27553,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "Welcome to Spectre 3x\r\n- True 3x Gather Rates\r\n- Max Team : 2\r\n- No P2W! - Only QOL plugins\r\n- Junk removed from ALL loot tables\r\n- AutomaticAuth for SAM Turret & Code Locks\r\n- Furnace Splitter\r\n- Quick smelt\r\n- Increased Recycler Speeds\r\n- Increased Stack Sizes\r\n- Increased Turret Limit\r\n- RaidAlarm - No more setting up Smart Alarms\r\n- Sort Button\r\n- 50 minutes day time & 10 minutes night time\r\n--- Rules ---\r\n- No VAC or Game Bans within last 365 days\r\n- No EAC bans within 365 days\r\n- No more than 2 total bans\r\n- No racism or homophobia\r\n- For a list of all rules join our discord by clicking external website",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780605264,
    "last_online": 1780595428,
    "icon": null,
    "name": "Spectre - EU 3X Monthly Solo/Duo | 50% UPKEEP | NO P2W",
    "connect": "157.85.95.115:27552",
    "request": "157.85.95.115:27553",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207170,
    "last_update": 1780605264,
    "banned": false,
    "wipe": 1778178861,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10790,
    "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/11501262");
$data = json_decode($json, true);
var_dump($data);