TTT | CS2 | ПРЕДАТЕЛИ И НЕВИНОВНЫЕ | CG için API

Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10951149
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10951149,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 730,
    "owner": 59299,
    "boosts": 1,
    "last_offline": 1772172055,
    "score": 0,
    "last_online": 1771248616,
    "icon": null,
    "name": "TTT | CS2 | ПРЕДАТЕЛИ И НЕВИНОВНЫЕ | CG",
    "connect": null,
    "request": null,
    "map": "ttt_waterpark_night_cs2",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768661923,
    "last_update": 1772172055,
    "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": 16352,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "osminoginka",
      "avatar": "0f9ef704-c4f1-4b42-be5f-ab1bbedd37a2.jpg",
      "last_online": 1775651484
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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