Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6965758
json
{
  "response": {
    "fps": 111,
    "fps_avg": 109,
    "entities_count": 70437,
    "world_seed": 1331288570,
    "world_size": 3500,
    "steam_id": "90286579036068881",
    "domain": null,
    "id": 6965758,
    "ip": "148.251.54.69",
    "port": 28005,
    "query": 28006,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Rust for Grumpy people](https://ibb.co/M532Ry8V)\nWelcome to Rust for Grumpy people !\r\n • Bi-weekly wipes – because your base deserves a short, tragic life.\r\n • Monthly blueprint wipes – just when you finally learned something, poof… gone.\r\n • 2x farming – chop, mine, repeat… slightly less painful.\r\n • Double stack size for resources – hoard more, rage harder when it’s stolen.\r\n • 5 minutes hacks - just less wasted time before being killed with all you goodies.\r\n \r\nEverything else is pure vanilla – misery, betrayal, and salt included for free.\r\n  \r\nServer Rules (aka The Rust Way):\r\n – Trust nobody, betray everybody.\r\n – Your neighbor is planning to offline raid you… probably while you read this.\r\n – Friendship is just a longer con before your death.\r\n – If you hear “friendly,” consider it your obituary.\r\n\r\nGrumpy Rust: Rage, Raids & Rebuilds:\r\nHome of door campers, salt miners, and “one last raid before wipe.” \r\nJoin us – where every logout is basically an eviction notice.\r\n \r\n – Offline raiding is our love language.\r\n – Build big, lose bigger.\r\n – Trust is optional. Betrayal is guaranteed.\r\n – Get raided, stay salty.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780542269,
    "last_online": 1780554635,
    "icon": null,
    "name": "Rust for Grumpy people",
    "connect": "148.251.54.69:28005",
    "request": "148.251.54.69:28006",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1734715374,
    "last_update": 1780554635,
    "banned": false,
    "wipe": 1779464551,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2622,
    "language": "de",
    "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/6965758");
$data = json_decode($json, true);
var_dump($data);