Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/471279
json
{
  "response": {
    "fps": 57,
    "fps_avg": 58,
    "entities_count": 114541,
    "world_seed": 72787173,
    "world_size": 4300,
    "steam_id": "90284791336496150",
    "domain": null,
    "id": 471279,
    "ip": "212.220.216.79",
    "port": 30000,
    "query": 30002,
    "color": 0,
    "city": "Yekaterinburg",
    "description": "![#6 WIN-RUST [VANILLA|x2] Wipe 01.09](https://i.ibb.co/Zm4PHgK/1024-512-2.jpg)\nSemi-classic server, no team limits.\n  ★ Resource mining rates x2;\n  ★ Component rates x2;\n  ★ Stacks x2;\n  ★ Night length 5 minutes.\nNo more changes and restrictions.\nMap wipe: every Monday at 10:00 GMT+3.\nRecipe wipe: every two weeks.\n\nПолу-классический сервер, без ограничения лимитов команды.\n  ★ Рейты на добычу ресурсов х2;\n  ★ Рейты на компоненты х2;\n  ★ Стаки x2;\n  ★ Длина ночи 5 минут.\nБольше никаких изменений и ограничений.\nВайп карты: каждый понедельник в 10:00 GMT+3.\nВайп рецептов: каждые две недели.",
    "game": 252490,
    "owner": 10780,
    "boosts": 1,
    "last_offline": 1776819796,
    "score": null,
    "last_online": 1776824414,
    "icon": null,
    "name": "#6 WIN-RUST | VANILLA | x2",
    "connect": "212.220.216.79:30000",
    "request": "212.220.216.79:30002",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 1,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1630842220,
    "last_update": 1776824414,
    "banned": false,
    "wipe": 1776668515,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 213,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "WIN_RUST",
      "avatar": "4281be989e82dcbf84cbe4a4aa95d38a.jpg",
      "last_online": 1757162761
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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