Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5940808
json
{
  "response": {
    "fps": 48,
    "fps_avg": 51,
    "entities_count": 164685,
    "world_seed": 1792539870,
    "world_size": 4500,
    "steam_id": "90284790541239309",
    "domain": null,
    "id": 5940808,
    "ip": "196.216.133.238",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Ventersdorp",
    "description": "![ShadowHunter 10x PVE](https://www.dropbox.com/s/x1lxa2uxq47lj38/Shadowhunter_Rust2.png?dl=1)\nWelcome to ShadowHunter 10x PVE - Your Ultimate PvE Rust Adventure!\r\n 10x PvE Experience: Explore, build, and conquer without PvP conflict.\r\n Monthly Wipes: Fresh start every month for new adventures.\r\n Raidable NPC Bases: Challenge yourself against formidable NPCs.\r\n Persistent Backpacks: Keep your gear after death.\r\n Guarded Crates, Kits, and Shop: Customizable gameplay options.\r\n PvP Zones: Airfield and Giant Excavator for thrilling battles.\r\n Purge Event: Final 24 hours of each wipe allow raiding and PvP.\r\n Many More Mods: Enhanced gameplay features for an immersive experience.\r\n Join Us Today: Experience Rust like never before on ShadowHunter 10x PVE. See you in the wasteland!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776746647,
    "score": 0,
    "last_online": 1776877223,
    "icon": null,
    "name": "ShadowHunter 10x PVE",
    "connect": "196.216.133.238:28015",
    "request": "196.216.133.238:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1726346447,
    "last_update": 1776877223,
    "banned": false,
    "wipe": 1775152874,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2255,
    "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/5940808");
$data = json_decode($json, true);
var_dump($data);