Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/9287104
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 89549,
    "world_seed": 19521155,
    "world_size": 4000,
    "steam_id": "90286520902051841",
    "domain": null,
    "id": 9287104,
    "ip": "104.129.133.107",
    "port": 28189,
    "query": 28186,
    "color": 0,
    "city": "Dallas",
    "description": "![Diddys Den- Solo or Duo Only! - Low pop and Big map - Vanilla- ](https://i.ibb.co/HNt960r/rustbgalt2.png)\nWelcome to Diddy's Den! The oldest running Low Pop/ Big Map server in Rust! \r\nBP Wiped 7 May: Next BP Wipe 4 Jun \r\n Big Map (4000!) \r\nVanilla \r\n You wont find any cheating here or any fake population. Come join us for a fun time! This server generally only wipes when less than 2 groups are actively playing",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779989019,
    "last_online": 1780547431,
    "icon": null,
    "name": "Diddys Den- Solo or Duo Only! - Low pop and Big map - Vanilla-",
    "connect": "104.129.133.107:28189",
    "request": "104.129.133.107:28186",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 140,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1747622648,
    "last_update": 1780547431,
    "banned": false,
    "wipe": 1778208037,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2985,
    "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/9287104");
$data = json_decode($json, true);
var_dump($data);