Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/2238159
json
{
  "response": {
    "fps": 51,
    "fps_avg": 47,
    "entities_count": 103341,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286554109772807",
    "domain": null,
    "id": 2238159,
    "ip": "65.28.44.27",
    "port": 28027,
    "query": 28026,
    "color": 0,
    "city": "Trevor",
    "description": "![Kapco411 Wild West|PVE|Monthly|Authentic world|Themed Events](https://i.imgur.com/1JCjVFv.png)\nWelcome to Kapco411 Wild West Server.\r\n-A unique take on Rust that takes us back to the time of the American Wild West.\r\n-All Monuments and NPC's are custom made for this map.\r\n-4X resources,enhanced scrap, custom crafting.\r\n-Try out this amazing one of a kind experience and play rust from a whole new perspective.\r\n-For more fun try out all of the Kapco411 Servers. Over 10 servers to choose from.\r\n-All Servers featuring over 20 events and hundreds of plugins.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779882801,
    "last_online": 1780555830,
    "icon": null,
    "name": "Kapco411 Wild West|PVE|Monthly|Authentic world|Themed Events",
    "connect": "65.28.44.27:28027",
    "request": "65.28.44.27:28026",
    "map": "Welcome To The Wild West",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1702816057,
    "last_update": 1780555830,
    "banned": false,
    "wipe": 1778193693,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2217,
    "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/2238159");
$data = json_decode($json, true);
var_dump($data);