Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/2417030
json
{
  "response": {
    "fps": 109,
    "fps_avg": 110,
    "entities_count": 101488,
    "world_seed": 0,
    "world_size": 4250,
    "steam_id": "90286619349566469",
    "domain": null,
    "id": 2417030,
    "ip": "54.37.245.179",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "London",
    "description": "![RUSTY BURGER - Hardcore | Solo | Monthly | Low Upkeep](https://i.postimg.cc/ryPwZ8mt/serverimg.jpg)\n**Make your Steam profile public to play on this server.**\r\n This is to stop new Steam accounts, used by cheaters, from joining our server.\r\n\r\n- Discord: https://discord.gg/7T7ZYEU \r\n- Website: https://www.rustyburger.co.uk \r\n- Admins DO NOT PLAY\r\n- Slower boat decay\r\n- Team Max 1 / Solo Server\r\n- Detailed player stats on our site\r\n- Monthly BP wipe\r\n- Extra recyclers at Ranch & Fishing Villages\r\n- Low upkeep\r\n- Chat & events history available on Discord\r\n- No VAC ban or GameBan allowed\r\n- Monthly wipe \r\n\r\n rs022Rva]?P^0rAi40rCZ]",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780632854,
    "last_online": 1780639228,
    "icon": null,
    "name": "RUSTY BURGER - Hardcore | Solo | Monthly | Low Upkeep",
    "connect": "54.37.245.179:28015",
    "request": "54.37.245.179:28016",
    "map": "Procedural Map",
    "gamemode": "Hardcore",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1704286682,
    "last_update": 1780639228,
    "banned": false,
    "wipe": 1780596622,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2621,
    "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/2417030");
$data = json_decode($json, true);
var_dump($data);