Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11644799
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 1211,
    "world_seed": 343455239,
    "world_size": 1000,
    "steam_id": "90286592433922068",
    "domain": null,
    "id": 11644799,
    "ip": "217.103.150.51",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Tiel",
    "description": "![DutchBrothers - (After force wipe we are ready) Vanilla | Extra](https://i.ibb.co/Mky6CGTn/Rust-banner2-G.jpg)\nWelcome to DutchBrothers\r\n - Upkeep 10X lower\r\n - Play friendly unless you are being attacked\r\n - Autoturret, Sleepbag and Relationship set to 30\r\n - We have one or more active admins\r\n Have Fun on the server!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780602269,
    "last_online": 1780595432,
    "icon": null,
    "name": "DutchBrothers - (After force wipe we are ready) Vanilla | Extra",
    "connect": "217.103.150.51:28015",
    "request": "217.103.150.51:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780177436,
    "last_update": 1780602269,
    "banned": false,
    "wipe": 1780566584,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12232,
    "language": "nl",
    "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/11644799");
$data = json_decode($json, true);
var_dump($data);