Day of Defeat
[GoldSrc.one] HL+CS+CZ+OP4+TFC+DOD+DMC CrossPlay için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11181127json
{
"response": {
"steam_id": "90284569663039493",
"domain": null,
"id": 11181127,
"ip": "89.221.220.61",
"port": 27022,
"query": 27022,
"color": 0,
"city": "Hluboká nad Vltavou",
"description": null,
"game": 30,
"owner": null,
"boosts": 1,
"last_offline": 1776361369,
"score": 0,
"last_online": 1776447630,
"icon": null,
"name": "[GoldSrc.one] HL+CS+CZ+OP4+TFC+DOD+DMC CrossPlay",
"connect": "89.221.220.61:27022",
"request": "89.221.220.61:27022",
"map": "hl_c4",
"gamemode": "CrossPlay",
"version": "1.1.2.7/Stdio",
"numplayers": 6,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1772229685,
"last_update": 1776447630,
"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": 3,
"language": "cs",
"parked": false,
"app": {
"id": 28,
"steam_id": 30,
"name": "Day of Defeat",
"url": "day-of-defeat"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11181127");
$data = json_decode($json, true);
var_dump($data);