API pentru MeteorRust #1 | x2 | Полу-классика

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10824864
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10824864,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 252490,
    "owner": 99076,
    "boosts": 1,
    "last_offline": 1773467494,
    "score": 5,
    "last_online": 1772546413,
    "icon": null,
    "name": "MeteorRust #1 | x2 | Полу-классика",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1767653867,
    "last_update": 1773467494,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 8479,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "meteor_dev",
      "avatar": "b4c310ab-8ef7-4a66-b911-02fe0693d8d2.jpg",
      "last_online": 1776698722
    },
    "mods": [
      {
        "id": 926,
        "name": "IQChat"
      },
      {
        "id": 1388,
        "name": "Stack Size Controller"
      },
      {
        "id": 942,
        "name": "IQMenu"
      },
      {
        "id": 450,
        "name": "Admin Menu"
      },
      {
        "id": 1484,
        "name": "Vanish"
      },
      {
        "id": 1098,
        "name": "NoSteam"
      }
    ],
    "disabled_modules": []
  }
}

Exemple de cod

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