Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/1031882
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 234347,
    "world_seed": 1337,
    "world_size": 4799,
    "steam_id": "90286666723265543",
    "domain": null,
    "id": 1031882,
    "ip": "141.98.157.70",
    "port": 32015,
    "query": 32017,
    "project_id": null,
    "color": 0,
    "city": "City of London",
    "description": "![Bestrust Solo/Duo 2x #2 | JUST FULLWIPED 06.06 06/06](https://storage.bestrustservers.com/MagicRust/1024x512.png)\nWelcome to Bestrust Solo/Duo 2x #2!\nGet 3 free rust skins by using the BESTRUST code on https://rustmagic.com/\n\nWipe Schedule:\n• Fullwipes Every Saturday at 11:45 CEST\n• Fullwipes Every Wednesday at 16:45 CEST\n- Last Wipe: 06.06 11:45 CEST Type: Full Wipe\n- Next Wipe: 10.06 16:45 CEST Type: Full Wipe\n\nFeatures:\n- 2x gathering & loot\n- Max Group Size: 2\n- Shared Blueprints\n- Balanced kits & commands\n- Great anti-cheat + Active non-playing admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779769406,
    "last_online": 1780763411,
    "icon": null,
    "name": "Bestrust Solo/Duo 2x #2 | JUST FULLWIPED 06.06 06/06",
    "connect": "141.98.157.70:32015",
    "request": "141.98.157.70:32017",
    "map": "Wiped 6 hours ago",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 667,
    "maxplayers": 700,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 127,
    "add_date": 1688488328,
    "last_update": 1780763411,
    "banned": false,
    "wipe": 1780739027,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 54,
    "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/1031882");
$data = json_decode($json, true);
var_dump($data);