Kingdom of Atham: Crown of the Champions
API pentru (PvP) US East #1 by G-Portal.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11394857json
{
"response": {
"steam_id": "90284524749388827",
"domain": null,
"id": 11394857,
"ip": "154.53.36.33",
"port": 28200,
"query": 28215,
"color": 0,
"city": "Orangeburg",
"description": null,
"game": 1676380,
"owner": null,
"boosts": 1,
"last_offline": 1776182517,
"score": 0,
"last_online": 1776358279,
"icon": null,
"name": "(PvP) US East #1 by G-Portal.com",
"connect": "154.53.36.33:28200",
"request": "154.53.36.33:28215",
"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": 1774597137,
"last_update": 1776358279,
"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": 5,
"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": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11394857");
$data = json_decode($json, true);
var_dump($data);