API для -=ALB=-
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794766572,
"app": {
"id": 176,
"name": "Alien Swarm: Reactive Drop",
"steam_id": 563560,
"url": "alien-swarm-reactive-drop"
},
"color": 0,
"connect": "179.167.0.207:27020",
"country": "BR",
"domain": null,
"game": 563560,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20159979,
"ip": "179.167.0.207",
"language": "pt",
"last_update": 1794938191,
"map": "ASI-Jac1-LandingBay_01",
"maxplayers": 8,
"name": "-=ALB=-",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27020,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27020,
"request": "179.167.0.207:27020",
"secured": true,
"status": false,
"steam_id": "90297544410397716",
"version": "7.1.4.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гуарульюс",
"description": null,
"disabled_modules": [],
"gamemode": "Alien Swarm: Reactive Drop",
"hidden": false,
"last_offline": 1794938191,
"last_online": 1794778570,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 75,
"wipe_period": null,
"os": "w",
"region": 255,
"product": "reactivedrop",
"gametype": "Normal,Briefing,empty,*grp:6664667i",
"dedicated": false
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20159979");
$data = json_decode($json, true);
var_dump($data);