Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/2041052
json
{
  "response": {
    "fps": 115,
    "fps_avg": 109,
    "entities_count": 73018,
    "world_seed": 2099400927,
    "world_size": 3500,
    "steam_id": "90286428966068248",
    "domain": null,
    "id": 2041052,
    "ip": "37.187.146.74",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Roubaix",
    "description": "![[EU] Shark server | X10 | NoBp | Clans | Tp | Kits | Shop](https://shark-rust.ovh/uploads/image/shark_rust_head_server.jpg)\nWelcome to the Rust Shark NoBP - X10 server\r\n� SERVER WIPE SCHEDULE �\r\n     � Every Thursday at 4:00 PM\r\n� Server Features �\r\n      � 10x Gather Rate ( sulfur: x7,5 )\r\n    � Clan & Trade\r\n        � Kits\r\n        � Bgrade for everyone\r\n � NoWorkBench/NoBp\r\n    � Teleport/Homes\r\n      � Auto Doors/Auto Lock\r\n        � Fast Recycling and Smelt\r\n    � Always Daytime\r\n� Server rules �\r\n    � No Cheating/Exploiting\r\n      � Team limit 6",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780206833,
    "last_online": 1780630830,
    "icon": null,
    "name": "[EU] Shark server | X10 | NoBp | Clans | Tp | Kits | Shop",
    "connect": "37.187.146.74:28015",
    "request": "37.187.146.74:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2548",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1701508172,
    "last_update": 1780630830,
    "banned": false,
    "wipe": 1718349334,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2586,
    "language": "fr",
    "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/2041052");
$data = json_decode($json, true);
var_dump($data);