Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10741144
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 270045,
    "world_seed": 507330871,
    "world_size": 3950,
    "steam_id": "90284511044199448",
    "domain": null,
    "id": 10741144,
    "ip": "205.234.243.2",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "Chicago",
    "description": "![[US] Upsurge Main | 3x Vanilla | 4/14](https://cdn.rustlegends.com/upsurge_banner_main-min.png)\nWiped twice weekly on Tuesday and Friday at 5PM ET with the following modifications:\r\n- 3x Gather rates\r\n- Half Craft & Smelt\r\n- Low tier blueprints unlocked (Wiped monthly)\r\n\r\nCheck out http://upsurgerust.com for more information and queue skip!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776335625,
    "score": 0,
    "last_online": 1776343217,
    "icon": null,
    "name": "[US] Upsurge Main | 3x Vanilla | 4/14",
    "connect": "205.234.243.2:28010",
    "request": "205.234.243.2:28015",
    "map": "Wiped 39 hours ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 38,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 69,
    "add_date": 1766250800,
    "last_update": 1776343217,
    "banned": false,
    "wipe": 1776200336,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 649,
    "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/10741144");
$data = json_decode($json, true);
var_dump($data);