Kingdom of Atham: Crown of the Champions
AmS KoA Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10694786json
{
"response": {
"steam_id": "90284523001238551",
"domain": null,
"id": 10694786,
"ip": "74.50.109.219",
"port": 33501,
"query": 33502,
"color": 0,
"city": "Atlanta",
"description": null,
"game": 1676380,
"owner": null,
"boosts": 1,
"last_offline": 1776207114,
"score": 0,
"last_online": 1776353538,
"icon": null,
"name": "AmS KoA Server",
"connect": "74.50.109.219:33501",
"request": "74.50.109.219:33502",
"map": null,
"gamemode": "Unreal Test!",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764594656,
"last_update": 1776353538,
"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": 4,
"language": "en",
"parked": false,
"app": {
"id": 1559474,
"steam_id": 1676380,
"name": "Kingdom of Atham: Crown of the Champions",
"url": "kingdom-of-atham-crown-of-the-champions"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10694786");
$data = json_decode($json, true);
var_dump($data);