API для • [EU][RO] CS.IFYOUPLAY.TOP • Public (24/7) | Skins/Levels/Ranks/Models | International | Romanian Hosting | Powered by QualHosting.com

JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/10824975
json
{
  "response": {
    "steam_id": null,
    "domain": "cs.ifyouplay.top",
    "id": 10824975,
    "ip": "81.181.87.91",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Galati",
    "description": null,
    "game": 10,
    "owner": 161608,
    "boosts": 1,
    "last_offline": 1775305930,
    "score": 0,
    "last_online": 1776808216,
    "icon": null,
    "name": "• [EU][RO] CS.IFYOUPLAY.TOP • Public (24/7) | Skins/Levels/Ranks/Models | International | Romanian Hosting | Powered by QualHosting.com",
    "connect": "cs.ifyouplay.top:27015",
    "request": "81.181.87.91:27015",
    "map": "fy_snow",
    "gamemode": "▇ ▇    English • Romanian",
    "version": "1.1.2.7/Stdio",
    "numplayers": 3,
    "maxplayers": 32,
    "bots": 3,
    "secured": true,
    "private": false,
    "country": "RO",
    "status": true,
    "votes": 7,
    "points": 74,
    "add_date": 1767894670,
    "last_update": 1776808216,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1853,
    "language": "ro",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": {
      "username": "vicecsr",
      "avatar": "no.jpg",
      "last_online": 1776795328
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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