Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11607447
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 154638,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286566502106139",
    "domain": null,
    "id": 11607447,
    "ip": "51.161.218.250",
    "port": 27059,
    "query": 27061,
    "color": 0,
    "city": "Sydney",
    "description": "![Rusty Coights All Rusty Adventures](https://www.rustycoight.com/coight-header.png)\nRusty Coights All Rusty Adventures!\r\n-Map wipes 6am AEDT every 2nd Friday, unless forced by Facepunch. | BPs never do!\r\n-Active, non-playing admin.\r\n\r\n-All safezones have recyclers & drone marketplaces & Airwolf vendor.\r\n-Map Size 3500\r\n-Team Limit 8\r\n-Map Marker Limit 10\r\n-Respawn Bag Limit 20\r\n-Node Density increased by 25%\r\n\r\nPeople are welcome to express themselves freely - Snowflakes may get offended.\r\nIf somebodys words hurt you, MUTE THEM!\r\n\r\nNo VAC/Game bans less than 90 days old. NO EXCEPTIONS.\r\nThe use of 3rd party software/devices to gain an unfair advantage over others is not allowed.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779915506,
    "last_online": 1780595430,
    "icon": null,
    "name": "Rusty Coights All Rusty Adventures",
    "connect": "51.161.218.250:27059",
    "request": "51.161.218.250:27061",
    "map": "Custom Generation",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1779915506,
    "last_update": 1780595430,
    "banned": false,
    "wipe": 1779386542,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1916,
    "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/11607447");
$data = json_decode($json, true);
var_dump($data);