BATTALION: Legacy
GPORTAL #13 (US Central) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10180871json
{
"response": {
"steam_id": "90280223651630109",
"domain": null,
"id": 10180871,
"ip": "207.244.249.217",
"port": 34200,
"query": 34215,
"color": 0,
"city": "St Louis",
"description": null,
"game": 489940,
"owner": null,
"boosts": 1,
"last_offline": 1768642782,
"score": 0,
"last_online": 1776444614,
"icon": null,
"name": "GPORTAL #13 (US Central)",
"connect": "207.244.249.217:34200",
"request": "207.244.249.217:34215",
"map": "Vanguard",
"gamemode": "Unreal Test!",
"version": "1.0.0.0",
"numplayers": 1,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1756288767,
"last_update": 1776444614,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 187,
"steam_id": 489940,
"name": "BATTALION: Legacy",
"url": "battalion-legacy"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10180871");
$data = json_decode($json, true);
var_dump($data);