JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10605585
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 171706,
    "world_seed": 1214497996,
    "world_size": 6000,
    "steam_id": "90286581949162512",
    "domain": null,
    "id": 10605585,
    "ip": "174.138.187.138",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Secaucus",
    "description": "![NOTIME TEST RIG 1](https://i.ibb.co/C338chBN/NOTIME-TESTRIG1024-512.png)\nTEST PVP 5X GATHER .... +15X with SkillTree & Boosts\r\nMonthly Wipe - Bi-Yearly Currency Wipe\r\n\r\nOur Servers are built with the Busy Rust Player in mind. With over 250 plugins from QoL to Game Changing we are sure to make you smile. \r\nYou will appreciate the custom loot table, crafting, shop, and static lootable around the map. Prefer Land, Sea or Sky? We have Custom Build Sites and Buildable Water Bases.... orrr Dig a Basement Under your Base!!\r\n\r\nMost Items in world can be EARNED...Even VIP\r\nWe have taken the time because we know you have NoTIME!! \r\n\r\n Other Features:\r\nServer Backpack DOES NOT WIPE! - Carry it with you\r\nRaidable Bases - 250 different bases with Custom Loot\r\nSkillTree Level to 150 + 10 Prestige Levels\r\nSpawn Kit - Discord Kit - Free VIP with Nitro Boost\r\nOur Shops are customized with Special Lootboxes & Event Spawns. \r\nCustomized Crafting, Cooking & Mixing Table all will Enhance your gameplay!\r\nPowerless Sentry Turrets and CRAM Sams to protect your Bases\r\nMap Bosses or try out our Custom Bradley and Heli Drops\r\nOur Server supports Karuza Vehicals \r\n\r\n Join Discord @ https://discord.gg/notime",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780543464,
    "last_online": 1780562428,
    "icon": null,
    "name": "NOTIME TEST RIG 1",
    "connect": "174.138.187.138:28015",
    "request": "174.138.187.138:28016",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1763321642,
    "last_update": 1780562428,
    "banned": false,
    "wipe": 1780547780,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3559,
    "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/10605585");
$data = json_decode($json, true);
var_dump($data);