JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/9160410
json
{
  "response": {
    "fps": 84,
    "fps_avg": 85,
    "entities_count": 100748,
    "world_seed": 775757306,
    "world_size": 4000,
    "steam_id": "90286427123291161",
    "domain": null,
    "id": 9160410,
    "ip": "185.38.148.149",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "City of London",
    "description": "![Rusticles 07/05 | Solo/Duo/Trio | Monthly | Noob Friendly](https://i.gyazo.com/65f92918b6526f8ddc096c59783dc6f7.png)\nWelcome to Rusticles Solo/Duo/Trio Vanilla Monthly (Map & Blueprints). Server wipes first Thursday of every month at 2pm EST (7pm BST).\r\n\r\n-> 3 Man Clan Limit both online & offline\r\n-> English in chat only\r\n-> No Racism or Nazism\r\n-> Griefing NOT allowed\r\n-> Minicopters spawn on road\r\n-> 50% Upkeep rate\r\nCheck our website/discord for full list of rules\r\n\r\nWipe Schedule is monthly full wipes.\r\n\r\nA community server with a stable staff team, no playing admins & almost 24/7 support. We aim to provide smooth gameplay, in-game help & of course a lag free experience.\r\nServer is running on a full dedicated I9 9900k, 64GB DDR4 3466Mhz & an Evo SSD M.2.\r\n\r\nWebsite : https://rusticles.tip4serv.com\r\nSteam Group : RusticlesServer\r\nDiscord : discord.me/rusticles\r\n\r\nAll Rust Servers at https://just-wiped.net/rust_servers",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780572816,
    "last_online": 1780229438,
    "icon": null,
    "name": "Rusticles 07/05 | Solo/Duo/Trio | Monthly | Noob Friendly",
    "connect": "185.38.148.149:28015",
    "request": "185.38.148.149:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1747209162,
    "last_update": 1780572816,
    "banned": false,
    "wipe": 1778176545,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10497,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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