Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11710892
json
{
  "response": {
    "fps": 62,
    "fps_avg": 62,
    "entities_count": 137669,
    "world_seed": 7057728,
    "world_size": 4300,
    "steam_id": "90286546890850326",
    "domain": null,
    "id": 11710892,
    "ip": "212.220.216.79",
    "port": 11111,
    "query": 11113,
    "color": 0,
    "city": "Yekaterinburg",
    "description": "![WIN TEST SERVER](https://cdn.win-rust.ru/img/server_baner/1024-512-2.jpg)\n★ PVE | x2 DAY x3 NIGHT | WIPE - JOIN NOW\nRU:\n★ PVE СЕРВЕР - вас не убьют и не зарейдят другие игроки(но последний день перед вайпом - СУДНЫЙ ДЕНЬ(полное PVP)). СМОЖЕШЬ ВЫЖИТЬ?\n☀ День 55м | ◯ Ночь 5м\nx2 ресурсы днём | x3 ночью\n★ БЫСТРЫЙ ПРОГРЕСС БЕЗ ГРИНДА: ✓ Востанавление инвентаря после смерти; ✓ EXP система + магазин; ✓ Ежедневные карты с наградами; ✓ Прокачка собственных карьеров; ✓ БОССЫ, ЗОМБИ и Базы для Рейда; ✓ Дроп оружия с NPC\n★ УДОБСТВО И БАЛАНС: ✓ Телепортация | Remove, ✓ Быстрые печи | Мгновенный крафт; ✓ Античит; ✓ Активная опытная администрация\nEN:\n★ PVE SERVER - you won't be killed or raided by other players (but the last day before the wipe is DOOMSDAY (full PVP)). CAN YOU SURVIVE?\n ☀ Day 55m | ◯ Night 5m \nx2 resources during the day | x3 at night \n★ FAST PROGRESS WITHOUT GRINDING: ✓ Restoring inventory after death; ✓ EXP system + store; ✓ Daily cards with rewards; ✓ Leveling up your own quarries; ✓ BOSSES, ZOMBIES and RAID BASES; ✓ Weapon drops from NPCs \n★ CONVENIENCE AND BALANCE: ✓ Teleportation | Remove, ✓ Fast furnaces | Instant crafting; ✓ Anti-cheat; ✓ Active and experienced administration",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780556006,
    "last_online": 1780516235,
    "icon": null,
    "name": "WIN TEST SERVER",
    "connect": "212.220.216.79:11111",
    "request": "212.220.216.79:11113",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 3,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780300731,
    "last_update": 1780556006,
    "banned": false,
    "wipe": 1780038505,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12858,
    "language": "ru",
    "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/11710892");
$data = json_decode($json, true);
var_dump($data);