Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/3901675
json
{
  "response": {
    "fps": 94,
    "fps_avg": 93,
    "entities_count": 97784,
    "world_seed": 532676582,
    "world_size": 4250,
    "steam_id": 90286604106482700,
    "domain": null,
    "id": 3901675,
    "ip": "87.98.244.6",
    "port": 28151,
    "query": 28150,
    "color": 0,
    "city": "Strasbourg",
    "description": "![EU|DK RUSTFRI](http://i11.dk/images/rustfri.jpg)\nLast map & BP wipe: 4. june 2026\r\nNext map & BP wipe: 2. july 2026\r\n\r\n-------- MODS -------\r\n- Info Panel\r\n- Kits\r\n- PlayRust.IO map\r\n- Raidable Bases\r\n- Arenas\r\n- Levels\r\n- Waterpatrol\r\n- Events\r\n- ... and more\r\n\r\n-------- RULES --------\r\n- No hacks\r\n- No griefing\r\n- No advertising\r\n- No racism, spam or abusive language in chat\r\n- English and Scandinavian languages in chat\r\n- Respect all players and admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596270,
    "last_online": 1780601437,
    "icon": null,
    "name": "EU|DK RUSTFRI",
    "connect": "87.98.244.6:28151",
    "request": "87.98.244.6:28150",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1713519287,
    "last_update": 1780601437,
    "banned": false,
    "wipe": 1780596317,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2930,
    "language": "fr",
    "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/3901675");
$data = json_decode($json, true);
var_dump($data);