API для [JP] NinjaHop Whitelist
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790078745,
"app": {
"id": 5,
"name": "Counter-Strike: Source",
"steam_id": 240,
"url": "counter-strike-source"
},
"color": 0,
"connect": "106.72.95.40:31024",
"country": "JP",
"domain": null,
"game": 240,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16866587,
"ip": "106.72.95.40",
"language": "ja",
"last_update": 1790376155,
"map": "bhop_abstractic",
"maxplayers": 32,
"name": "[JP] NinjaHop Whitelist",
"numplayers": 0,
"official": null,
"points": 30,
"port": 31024,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 31024,
"request": "106.72.95.40:31024",
"secured": false,
"status": true,
"steam_id": "90293198016474119",
"version": "11003710",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Edogawe",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike: Source",
"hidden": false,
"last_offline": null,
"last_online": 1790376155,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2143,
"wipe_period": null,
"listentype": "d",
"sm_nextmap": "bhop_4way",
"environment": "l",
"a2s_protocol": 17,
"mp_roundtime": "60",
"mp_timelimit": "60",
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16866587");
$data = json_decode($json, true);
var_dump($data);