Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10781140
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 25923,
    "world_seed": 123,
    "world_size": 2500,
    "steam_id": "90284591090574347",
    "domain": null,
    "id": 10781140,
    "ip": "104.129.133.85",
    "port": 28069,
    "query": 28066,
    "color": 0,
    "city": "Dallas",
    "description": "![FDGsWeekendServer](https://lobfile.com/file/PHv7tr38.jpg)\nServer Name: FDGs Weekend Server Opens: Fridays at 4:00pm EST Closes: Sundays at 8:00pm EST Wipes: Every 3rd Friday of the month. Still in testing so expect small issues until we are fully up and running.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776850819,
    "icon": null,
    "name": "FDGsWeekendServer",
    "connect": "104.129.133.85:28069",
    "request": "104.129.133.85:28066",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2582",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1766872501,
    "last_update": 1776850819,
    "banned": false,
    "wipe": 1744488071,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4159,
    "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/10781140");
$data = json_decode($json, true);
var_dump($data);