JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/6572509
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6572509,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[\n    {\n        \"id\": \"n0fCeCDQ1L\",\n        \"type\": \"image\",\n        \"data\": {\n            \"caption\": \"\",\n            \"withBorder\": false,\n            \"withBackground\": false,\n            \"stretched\": false,\n            \"file\": {\n                \"url\": \"https://cdn.gamemonitoring.net/images/content/a317bfac-f602-4d29-a349-3dee2ef63b03.png\"\n            }\n        }\n    },\n    {\n        \"id\": \"H_qYk3Avhh\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"🌲 WildLord.gg | 2x No Limits | PvPvE Survival\\nIP: play.wildlord.gg:28015\\nWebsite: [https://wildlord.gg](https://wildlord.gg)\\nDiscord: [https://discord.gg/FVXMGvJQEk](https://discord.gg/FVXMGvJQEk)\"\n        }\n    },\n    {\n        \"id\": \"0VLOZN6mIw\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"Welcome to WildLord.gg, a true PvPvE survival experience built around balance, challenge, and community\\n — no handouts, no shortcuts, and never pay-to-win.\"\n        }\n    },\n    {\n        \"id\": \"MlR2B-PEma\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"🔹 Server Overview:\\n — 2x Gather, Smelt, Craft (No Instants)\\n\\n— Carefully tuned survival settings\\n\\n— PvP is active, but PvE elements provide depth and strategy\\n\\n— Dynamic events and environment hazards\"\n        }\n    },\n    {\n        \"id\": \"i5x_9MbQOS\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"🧰 Key Features:\\n\\n• ZLevels Remastered – Earn faster gathering through hard work\\n\\n• SkinBox – Use your Rust skins with ease\\n\\n• Backpacks – Extra storage for linked players\\n\\n• Clans – Form and manage clans after linking your Steam: [https://wildlord.gg/link](https://wildlord.gg/link)\\n\\n• Dangerous Treasures – Competitive events with high-stakes loot\\n\\n• BetterNPCs – Stronger monument defenders for added challenge\\n\\n• Voting Rewards – Get airdrops and ZLevel boosts\\n→ [https://bestservers.com/server/3498](https://bestservers.com/server/3498)\\n→ [https://rust-servers.net/server/173767](https://rust-servers.net/server/173767)\"\n        }\n    },\n    {\n        \"id\": \"6InEBS5sWY\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"🚫 No Pay-to-Win: Every reward is earned through gameplay. No kits. No boosts for cash.\"\n        }\n    },\n    {\n        \"id\": \"BywSABubEV\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"👥 Join a growing community of survivors. Dominate the wild — or be swallowed by it.\\nSurvive. Build. Rule the Wild.\"\n        }\n    }\n]",
    "game": 252490,
    "owner": 92463,
    "boosts": 1,
    "last_offline": 1761066197,
    "last_online": 1759425617,
    "icon": null,
    "name": "WildLord.gg | 2x Mayhem | Chaos & Events",
    "connect": null,
    "request": null,
    "map": "WildLord.gg Custom Generation",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1731158683,
    "last_update": 1761066197,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13235,
    "language": "en",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "CHRSTPHR",
      "avatar": "68326882-3630-4fbc-98a5-23fe29a9a790.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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