Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10342169
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 95129,
    "world_seed": 1571256173,
    "world_size": 4000,
    "steam_id": "90285700156360707",
    "domain": null,
    "id": 10342169,
    "ip": "156.236.84.14",
    "port": 28120,
    "query": 28121,
    "color": 0,
    "city": "Dallas",
    "description": "![AJ's Rustfunia PvE - Learn to Fly](https://i.ibb.co/bgQ1RRjm/ajs-rustfunia.png)\nOffering a nice and quiet PvE environment where you can play PvE events, learn to fly, low decay and more. Join our Discord for more information: https://discord.gg/FmrpZkQU \r\n To spawn/fetch/despawn a Mini Heli, use the following commands: /mymini  /fmini  /nomini. The cooldown time to use these commands is 10s. \r\n TYPE: /help to see the commands.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778321583,
    "score": 0,
    "last_online": 1778688621,
    "icon": null,
    "name": "AJ's Rustfunia PvE - Learn to Fly",
    "connect": "156.236.84.14:28120",
    "request": "156.236.84.14:28121",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1758453459,
    "last_update": 1778688621,
    "banned": false,
    "wipe": 1778181711,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3647,
    "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/10342169");
$data = json_decode($json, true);
var_dump($data);