Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7467334
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 123925,
    "world_seed": 2118266760,
    "world_size": 4500,
    "steam_id": "90286581162428431",
    "domain": null,
    "id": 7467334,
    "ip": "145.239.0.53",
    "port": 28005,
    "query": 28007,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![RustMates | 2x | Solo | Monthly | Events | Kits](https://www.dropbox.com/scl/fi/xwv2d3lhruivzdyvo260x/serverheader.png?rlkey=wm82o5vcda7k1se4pfpyne64p&st=g9bzatuy&dl=1)\nWELCOME TO RUSTMATES 2.0\r\n 2X SOLO - MONTHLY WIPE - TEAM LIMIT: 1\r\n KITS - 50% UPKEEP - SHORT NIGHTS\r\n BIGGER STACK SIZES - VANILLA GAMEPLAY\r\n RAID PROTECTION - BEGINNER FRIENDLY - EVENTS\r\n ECONOMY & SHOP SYSTEM - EARN FREE VIP BY PLAYING\r\n \r\n Blueprints and Map wipe on the first Thursday of each month.\r\n \r\n Visit our website: www.rustmates.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780524268,
    "last_online": 1780573227,
    "icon": null,
    "name": "RustMates | 2x | Solo | Monthly | Events | Kits",
    "connect": "145.239.0.53:28005",
    "request": "145.239.0.53:28007",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1739234752,
    "last_update": 1780573227,
    "banned": false,
    "wipe": 1778177473,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1274,
    "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/7467334");
$data = json_decode($json, true);
var_dump($data);