Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/7501081
json
{
  "response": {
    "modded": true,
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 102941,
    "world_seed": 383500212,
    "world_size": 3300,
    "steam_id": "90284515368000515",
    "domain": null,
    "id": 7501081,
    "ip": "168.100.160.146",
    "port": 28015,
    "query": 28014,
    "color": 0,
    "city": "Ashburn",
    "description": "![NamelessNoobs 2x | Vanilla+ | Monthly | Wiped 4/2](http://cdn.nnoobs.com/rustheaderv2.jpg)\nMap wipe schedule: Monthly \r\nWiped April 2nd @ 2 pm EST \r\nNext wipe: May7th@ 2 pm EST \r\nBP Wipe: Monthly\r\nMax group limit 8.\r\nServer rules: https://namelessrust.com/rules\r\nNo Rust game banned ALTS.\r\nOr any other game bans in past 180 days\r\n\r\nCheck out our community! namelessnoobs.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775194330,
    "score": 0,
    "last_online": 1776366622,
    "icon": null,
    "name": "NamelessNoobs 2x | Vanilla+ | Monthly | Wiped 4/2",
    "connect": "168.100.160.146:28015",
    "request": "168.100.160.146:28014",
    "map": "NamelessNoobs Monthly Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1739281209,
    "last_update": 1776366622,
    "banned": false,
    "wipe": 1775152152,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2303,
    "language": "en",
    "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/7501081");
$data = json_decode($json, true);
var_dump($data);