Valve Left4Dead 2 Hong Kong Server (srcds1030-hkg1.141.219) 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/890258
json
{
  "response": {
    "steam_id": "90284135573554181",
    "domain": null,
    "id": 890258,
    "ip": "103.28.54.212",
    "port": 27233,
    "query": 27233,
    "color": 0,
    "city": "Ha Kwai Chung",
    "description": "",
    "game": 550,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773775322,
    "score": null,
    "last_online": 1775741420,
    "icon": null,
    "name": "Valve Left4Dead 2 Hong Kong Server (srcds1030-hkg1.141.219)",
    "connect": "103.28.54.212:27233",
    "request": "103.28.54.212:27233",
    "map": "c6m3_port",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 2,
    "maxplayers": 4,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "HK",
    "status": true,
    "votes": 0,
    "points": 54,
    "add_date": 1684710416,
    "last_update": 1775741420,
    "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": 1005,
    "language": "zh",
    "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/890258");
$data = json_decode($json, true);
var_dump($data);