Valve Left4Dead 2 US East Server (srcds1001-iad1.121.153) 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/889228
json
{
  "response": {
    "steam_id": "90284127105973268",
    "domain": null,
    "id": 889228,
    "ip": "162.254.192.132",
    "port": 27167,
    "query": 27167,
    "color": 0,
    "city": "Ashburn",
    "description": "",
    "game": 550,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775145132,
    "score": null,
    "last_online": 1775742630,
    "icon": null,
    "name": "Valve Left4Dead 2 US East Server (srcds1001-iad1.121.153)",
    "connect": "162.254.192.132:27167",
    "request": "162.254.192.132:27167",
    "map": "c2m1_highway",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1684709968,
    "last_update": 1775742630,
    "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": 2861,
    "language": "en",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2",
      "popular_maps_available": true
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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