Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/2624756
json
{
  "response": {
    "fps": 53,
    "fps_avg": 50,
    "entities_count": 151742,
    "world_seed": 1719568024,
    "world_size": 4250,
    "steam_id": "90286309248950285",
    "domain": null,
    "id": 2624756,
    "ip": "92.118.16.70",
    "port": 28025,
    "query": 28026,
    "color": 0,
    "city": "London",
    "description": "![Haunted Barrens PvE | UK](https://www.dropbox.com/s/pomjxs9o73gtxhr/HB_Header.png?dl=1)\nSee our Rules in discord or on the server by typing: /info\r\n\r\nThis is a community modded PvE server based in the UK with 2 week wipes. Minicopters spawn on roads, shop available with limited gear, items and commands to wipe BPs and ZLvls.\r\n\r\nWe have:\r\n+ Raidable Bases Premium\r\n+ Night Zombies\r\n+ Monument BOTs\r\n+ Increased Stack Sizes\r\n- Lowered Upkeep\r\n- Heavy workbench taxes\r\n\r\nKits and Teleporting not available.\r\nNo killing or pillaging players outside of purge.\r\n\r\n+ QoL Patreon perks available\r\n> Join us on discord to stay up to date <",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780565617,
    "last_online": 1779961821,
    "icon": null,
    "name": "Haunted Barrens PvE | UK",
    "connect": "92.118.16.70:28025",
    "request": "92.118.16.70:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1705787470,
    "last_update": 1780565617,
    "banned": false,
    "wipe": 1779381904,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10416,
    "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/2624756");
$data = json_decode($json, true);
var_dump($data);