Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/437337
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 125961,
    "world_seed": 1337,
    "world_size": 4250,
    "steam_id": "90286581379078147",
    "domain": null,
    "id": 437337,
    "ip": "51.89.25.156",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![J.A.R.V.I.S.| PVE | Farm, Build, Enjoy | NO Sandbox](https://static.wixstatic.com/media/44cae5_34b5c9b81db64b16afbc4eaa0a247a7b~mv2.png)\nTired of toxic players and PVP? You just want to have fun with people, farm and build architectural masterpieces (NO SANDBOX)?\r\nThen you've come to the right place!\r\n\r\nBuilding, farming and togetherness is our main focus.\r\n\r\nHere are more advantages:\r\n- Backpack\r\n- Remover Tool\r\n- BGrade (automatic upgrade while building)\r\n- Increased Stack size\r\n- Increased gather rates (2x)\r\n- ZLevels (increases gather rate with every level even more)\r\n- Skins and Building Skins\r\n- Free NPC Taxi\r\n- Monthly BP Wipe and biweekly wipe (/wipe)\r\n- Adjusted decay\r\n- Fun Mods like Cooking, Raidable (NPC) Bases, Boss Monster and Trivia Quiz\r\n- Rewards for loyal players and winners of various challenges\r\n- various mods to protect you players from PVP attacks/theft\r\n- And many more!\r\n\r\n vv Join our discord channel vv",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780545869,
    "last_online": 1780549826,
    "icon": null,
    "name": "J.A.R.V.I.S.| PVE | Farm, Build, Enjoy | NO Sandbox",
    "connect": "51.89.25.156:28080",
    "request": "51.89.25.156:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1605192740,
    "last_update": 1780549826,
    "banned": false,
    "wipe": 1779391108,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 873,
    "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/437337");
$data = json_decode($json, true);
var_dump($data);