Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11644757
json
{
  "response": {
    "fps": 212,
    "fps_avg": 213,
    "entities_count": 211461,
    "world_seed": 1111517765,
    "world_size": 4500,
    "steam_id": 90286404427745310,
    "domain": null,
    "id": 11644757,
    "ip": "89.35.130.89",
    "port": 20058,
    "query": 10058,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![ApexRUST.gg [ CLASSIC ] 31.05](https://i.ibb.co/j9n34Fhj/Xum6s8-BSXn-GNRr0m-Xk1r-Dw2k.png)\nЛимит игроков в команде: нет лимита \n\nХарактеристики серверов: \n·Рейты добычи ресурсов х2 \n·Мгновенный крафт \n·Мини-магазин \n\nВайп карты: каждую пятницу в 14:00 \nВайп рецептов: каждые две недели, начиная с первого вайпа",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780679628,
    "last_online": 1780229421,
    "icon": null,
    "name": "ApexRUST.gg [ CLASSIC ] 31.05",
    "connect": "89.35.130.89:20058",
    "request": "89.35.130.89:10058",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780177435,
    "last_update": 1780679628,
    "banned": false,
    "wipe": 1780214522,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12022,
    "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/11644757");
$data = json_decode($json, true);
var_dump($data);