Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502169
json
{
  "response": {
    "fps": 104,
    "fps_avg": 103,
    "entities_count": 91979,
    "world_seed": 1973227529,
    "world_size": 4000,
    "steam_id": "90286555159073805",
    "domain": null,
    "id": 11502169,
    "ip": "64.74.161.187",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Pointe-Claire",
    "description": "Welcome to Rusty Soldiers! A NEW mostly Vanilla group limit server with HALF UPKEEP.\r\nSOLOS, DUOS & TRIOS ONLY - Follow the rules or you will be banned.\r\n\r\nMap Wipes: Bi-Weekly - Thursdays at 2pm ET\r\n* Wiped: May 22th - Next Wipe: June 4th\r\nBPs Wipe: Every other Month\r\n* JUST FULL WIPED\r\nServer Restarts Daily at 8am ET\r\n\r\n- Your team only (MAX 3) basing, roaming, or together, ever.\r\n- NO ALLIANCES - Don't work or conspire with another team.\r\n- Don't let other non-team players in your base.\r\n- NO GIVING OR RECEIVING bases/items. FAIR TRADES only at safe zones.\r\n- NO SERVICES this includes but is not limited to: taxis, farming, dancing.\r\n- NO SWITCHING TEAMMATES in the same wipe. It is OK for three solos to team up.\r\n- NO BASE GRIEFING. You can Raid and PVP, but don't be a dick about it afterwards\r\n- RELAX AND HAVE FUN\r\nNew accounts, cheaters, players with a recent VAC/Gameban or 3+ people living in a base will be banned.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779883404,
    "last_online": 1780556430,
    "icon": null,
    "name": "RUSTY SOLDIERS - Solo/Duo/Trio  [Vanilla|Premium+|Half Upkeep]",
    "connect": "64.74.161.187:28015",
    "request": "64.74.161.187:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207193,
    "last_update": 1780556430,
    "banned": false,
    "wipe": 1779473034,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4857,
    "language": "en",
    "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/11502169");
$data = json_decode($json, true);
var_dump($data);