Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/4666186
json
{
  "response": {
    "fps": 235,
    "fps_avg": 237,
    "entities_count": 68109,
    "world_seed": 807182566,
    "world_size": 3500,
    "steam_id": "90286603946443804",
    "domain": null,
    "id": 4666186,
    "ip": "141.95.72.20",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Limburg an der Lahn",
    "description": "![[EU/DE] Die Germanen Beginner Friendly | LowUpkeep | Max 5](https://i.ibb.co/8XQbcxp/Logo.png)\nWillkommen bei den Germanen! \r\n \r\n - Serversprache ist Deutsch oder Englisch \r\n - Join our Discord: discord.gg/QFQeceaQ3q \r\n - Low upkeep ca. 33% \r\n - Gruppenlimit = max 5 \r\n - Nächster wipe ist am 12.06. (Map Wipe 20 Uhr) \r\n - Letzter wipe war am 04.06. (Full Wipe 20 Uhr)\r\n \r\n Regeln:\r\n - 1.)Griefen ist verboten. \r\n - 2.)Nach dem raiden müssen neue Türen/Schlösser Abgebaut werden, TC muss frei zugänglich sein. \r\n - 3.)Maximale Teamgröße ist 5. \r\n - 4.)Unbedingt Regeln lesen im Discord!\r\n - 5.)Aktive Raid Zeiten!! \r\n \r\n Rules:\r\n - 1.) Griefing is forbidden. \r\n - 2.) After raiding you have to remove new doors / locks. After raiding the tc have to be freely accessible. \r\n - 3.) Maximum Teamsize is 5. \r\n - 3.) You must read our rules on Discord! \r\n - 5.)Active Raid Times!! \r\n \r\n - Admin: [email protected] \r\n - TeamSpeak: 46.235.26.99:9994 \r\n - Discord: https://discord.gg/g5bDwhaaKs",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779984172,
    "last_online": 1780627827,
    "icon": null,
    "name": "[EU/DE] Die Germanen Beginner Friendly | LowUpkeep | Max 5",
    "connect": "141.95.72.20:28015",
    "request": "141.95.72.20:28016",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1717669025,
    "last_update": 1780627827,
    "banned": false,
    "wipe": 1780595857,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2761,
    "language": "de",
    "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/4666186");
$data = json_decode($json, true);
var_dump($data);