Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6769581
json
{
  "response": {
    "fps": 32,
    "fps_avg": 29,
    "entities_count": 145161,
    "world_seed": 0,
    "world_size": 5000,
    "steam_id": "90283774862307347",
    "domain": null,
    "id": 6769581,
    "ip": "15.235.113.18",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "Montreal",
    "description": "![Eagles Nest (pve)](https://www.dropbox.com/scl/fi/q5gccdiimegz43lbsf3gu/EAGLES-NEST-PVE-1.png?rlkey=jmm7ee6q5a550xe6rv41iiu6q&st=0qiwws7i&dl=1)\nWelcome to Eagles Nest (PVE)\r\n - The path to success is not for the faint of heart\r\n - New Players will be challenged, but those who make it will reap the reward\r\n - Lots of Fun Peace full place to chill back\r\n - Respect players and have fun\r\n - can't wait to see everyone\r\n - ###World Size 5000### -\r\n - *****MODDS***** -\r\n ✔ Better NPC's\r\n ✔ Convoy\r\n ✔ Train Convoy\r\n ✔ Large oil event\r\n ✔ Raid Bases\r\n ✔ NPC-raiders\r\n ✔ Defendable-bases\r\n ✔ Air Field event\r\n ✔Flying Cargo event\r\n ✔ Water Treatment Showdown\r\n ✔ Train yard event\r\n ✔ Water Patrol\r\n ✔ Pirates on tugboat\r\n ✔ Zombies\r\n ✔ Skill Tree\r\n ✔ Spray cans - to change skins\r\n ✔ farming\r\n ✔ BetterTC\r\n ✔ 24/7 Support\r\n  ✔ Powerful Systems",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775035333,
    "score": 0,
    "last_online": 1776510622,
    "icon": null,
    "name": "My Untitled Rust Server",
    "connect": "15.235.113.18:28025",
    "request": "15.235.113.18:28026",
    "map": "Procedural Map",
    "gamemode": "Hardcore",
    "version": "2622",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1732811076,
    "last_update": 1776510622,
    "banned": false,
    "wipe": 1773850812,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3440,
    "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/6769581");
$data = json_decode($json, true);
var_dump($data);