JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10633555
json
{
  "response": {
    "fps": 184,
    "fps_avg": 182,
    "entities_count": 46877,
    "world_seed": 3486489,
    "world_size": 4000,
    "steam_id": "90284794034433038",
    "domain": null,
    "id": 10633555,
    "ip": "45.178.193.226",
    "port": 10002,
    "query": 10003,
    "color": 0,
    "city": "Córdoba",
    "description": "![RustArgentinaSergiopalm PVE/PVP](https://image.myrustserver.com/logo/Sergiopalm_6881e074457e9.png)\nBienvenidos a RustArgentinaSergiopalm  - Vanilla! \r\n  ● Prohibido el uso de HACKS, Scripts, Exploits,...\r\n  ● No construir limitando a otros jugadores el acceso a los Airdrop o   monumentos, eventos, etc.\r\n  ● 1 Base por Tem o Individual.- Max x Tem: 4\r\n/flag Solo por pedido en Discord\r\n/kit  -  /remove\r\n\r\nSi tienes algun problema o duda, consultarnos...\r\nDISCORD\r\nhttps://discord.gg/Q2zjpVTeND",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776828798,
    "score": 0,
    "last_online": 1776853819,
    "icon": null,
    "name": "RustArgentinaSergiopalm PVE/PVP",
    "connect": "45.178.193.226:10002",
    "request": "45.178.193.226:10003",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 35,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1763713845,
    "last_update": 1776853819,
    "banned": false,
    "wipe": 1775157387,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1969,
    "language": "es",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10633555");
$data = json_decode($json, true);
var_dump($data);