Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11502377
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 19002,
    "world_seed": 0,
    "world_size": 1000,
    "steam_id": "90286588407040012",
    "domain": null,
    "id": 11502377,
    "ip": "40.160.20.178",
    "port": 40055,
    "query": 40056,
    "color": 0,
    "city": "Reston",
    "description": "![RustGames.gg | Rustcraft Lucky Pillars 3](https://assets.rustgames.gg/BRANDING/Server_Banner.png)\nWelcome to the RustGames.gg minigame network!Rules:• No cheating, scripting, exploiting, or bug abuse.• No harassment, hate speech, threats, or excessive toxicity.• No spam, advertising, or impersonation.• Respect staff decisions and other players.• Do not intentionally disrupt games, lobbies, queues, or events.This server description only includes the basic rules.The full rules, updates, support, appeals, and announcements are available in our Discord.Join the Discord for the complete rule list:rustgames.gg/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207199,
    "last_online": 1780564817,
    "icon": null,
    "name": "RustGames.gg | Rustcraft Lucky Pillars 3",
    "connect": "40.160.20.178:40055",
    "request": "40.160.20.178:40056",
    "map": "RustGames.gg",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 7,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 101,
    "add_date": 1779207199,
    "last_update": 1780564817,
    "banned": false,
    "wipe": 1778528011,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 100,
    "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/11502377");
$data = json_decode($json, true);
var_dump($data);