Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10459899
json
{
  "response": {
    "fps": 36,
    "fps_avg": 42,
    "entities_count": 160994,
    "world_seed": 1337,
    "world_size": 5952,
    "steam_id": "90284792347494410",
    "domain": null,
    "id": 10459899,
    "ip": "192.36.155.230",
    "port": 27031,
    "query": 27033,
    "color": 0,
    "city": "Surte",
    "description": "![WorldWar III 5X](https://www.dropbox.com/scl/fi/qd8yjiblrvgajkwi7fiy1/World-War.png?rlkey=xuwd56fwtu2pg6c10oodn9tv9&st=hsioan37&dl=1)\nWelcome to World War 3 5X \r\nCustom Map \r\nSpawn with basic gear and weapon \r\nTeleporting \r\nTrade \r\nKits, including test generator \r\nRemover Tool \r\nRust+ activated \r\nMax team size 6 \r\nJoin our Discord https://discord.gg/RWMG9RZRqa \r\nForced wipe only, first thursday of every month",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776823397,
    "score": 0,
    "last_online": 1776883827,
    "icon": null,
    "name": "WorldWar III 5X",
    "connect": "192.36.155.230:27031",
    "request": "192.36.155.230:27033",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1760474379,
    "last_update": 1776883827,
    "banned": false,
    "wipe": 1775155845,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3992,
    "language": "sv",
    "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/10459899");
$data = json_decode($json, true);
var_dump($data);