Turek-City.pl :: [Only de_dust2] [Only DD2] » Pukawka.pl 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/10437325
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10437325,
    "ip": "5.35.103.106",
    "port": 27039,
    "query": 27039,
    "color": 0,
    "city": "Bratislava",
    "description": null,
    "game": 10,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774298517,
    "score": 0,
    "last_online": 1775812215,
    "icon": null,
    "name": "Turek-City.pl :: [Only de_dust2] [Only DD2] » Pukawka.pl",
    "connect": "5.35.103.106:27039",
    "request": "5.35.103.106:27039",
    "map": "de_inferno",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 31,
    "maxplayers": 32,
    "bots": 1,
    "secured": true,
    "private": false,
    "country": "SK",
    "status": true,
    "votes": 0,
    "points": 98,
    "add_date": 1759910588,
    "last_update": 1775812215,
    "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": 839,
    "language": "sk",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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