API для AMERICA LATINA BRASIL
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791053174,
"app": {
"id": 167,
"name": "Day of Infamy",
"steam_id": 447820,
"url": "day-of-infamy"
},
"color": 0,
"connect": "200.207.24.77:27029",
"country": "BR",
"domain": null,
"game": 447820,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17684303,
"ip": "200.207.24.77",
"language": "pt",
"last_update": 1791223600,
"map": "crete",
"maxplayers": 8,
"name": "AMERICA LATINA BRASIL",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27029,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27029,
"request": "200.207.24.77:27029",
"secured": true,
"status": false,
"steam_id": "90294054319932445",
"version": "3.2.1.5",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гуарульюс",
"description": null,
"disabled_modules": [],
"gamemode": "DOI",
"hidden": false,
"last_offline": 1791223600,
"last_online": 1791146811,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2034,
"wipe_period": null,
"os": "w",
"region": 2,
"product": "dayofinfamy",
"gametype": "g:entrenchment,p:nwi/coop,t:default,v:3215,pure:-1,coop,deathmsgs,",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17684303");
$data = json_decode($json, true);
var_dump($data);