Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11158945
json
{
  "response": {
    "modded": true,
    "fps": 1447,
    "fps_avg": 1463,
    "entities_count": 17699,
    "world_seed": 1597963589,
    "world_size": 1500,
    "steam_id": "90285980663655452",
    "domain": null,
    "id": 11158945,
    "ip": "162.19.94.28",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "Gravelines",
    "description": "![WS -DEV 3](https://i.postimg.cc/90Kf8HpR/1.png)\n\nWild Sanctuary: Server 10x Gather & Loot\n\n                                          .: MAP WITH BOTS IN MONUMENTS :.\n\nTRANSLATION: English | French | Russian | Spanish | German\n  -> Automatic translation of Global/ Team/ PM chat\n\n❝Welcome to Wild Sanctuary, a fast-paced modded Rust experience where you choose your path: engage in intense PVP battles or enjoy a more peaceful survival in PVE. With frequent wipes, active events, and various quality-of-life improvements, our server is designed to suit both casual players and seasoned survivors.\nJoin a diverse international community with auto-translated chat and enjoy a fair, dynamic Rust environment.\nPlease note: this server is modded and entirely non-profit, created purely for the enjoyment of the community.❞\n\nWIPE & RESETS\n • Map wipe: every 2 weeks\n • Currency ($) reset: every 2 weeks\n • XP reset: every month\n\nSERVER FEATURES:\n    - Backpack: /backpack (extensible with skills)\n    - BuildSkin: Directly on TC\n    - Clan [ Max. 5 members]\n    - Craft Everywhere & Instant (except some items)\n    - Craft System Extend: /craft\n    - Events\n    - Héli: /mymini\n    - Item Stack: Use Right-Click\n    - Kits: /kit\n    - Shop: /shop\n    - SkillTree: Unique Experience system /skilltree or /st\n    - Skins: /sb | /sd (Survivor Rank's)\n    - Skip Night Vote\n    - Teleportation: /home | /tpa | /outpost | /bandit\n    - Turrets: No electricity needed",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779014528,
    "last_online": 1779259818,
    "icon": null,
    "name": "WS -DEV 3",
    "connect": "162.19.94.28:28035",
    "request": "162.19.94.28:28036",
    "map": "Atlanta | Next Wipe 02/04",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 1,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228120,
    "last_update": 1779259818,
    "banned": false,
    "wipe": 1778175644,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4092,
    "language": "fr",
    "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/11158945");
$data = json_decode($json, true);
var_dump($data);