America's Army: Proving Grounds
API для -=S.A.S=- Gaming Server! ACI Secure! [GER]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4970908json
{
"response": {
"steam_id": "90285106406032395",
"domain": null,
"id": 4970908,
"ip": "51.91.219.173",
"port": 7778,
"query": 7781,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 203290,
"owner": null,
"boosts": 1,
"last_offline": 1771136505,
"score": 0,
"last_online": 1777496414,
"icon": null,
"name": "-=S.A.S=- Gaming Server! ACI Secure! [GER]",
"connect": "51.91.219.173:7778",
"request": "51.91.219.173:7781",
"map": "FLO_Reaction_EX",
"gamemode": "America's Army: Proving Grounds",
"version": "1.0.0.0",
"numplayers": 23,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1720166985,
"last_update": 1777496414,
"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": "fr",
"parked": false,
"app": {
"id": 75,
"steam_id": 203290,
"name": "America's Army: Proving Grounds",
"url": "americas-army-proving-grounds"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4970908");
$data = json_decode($json, true);
var_dump($data);