API для Ramjet Experimental Test Server - NA
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793402683,
"app": {
"id": 1530675,
"name": "VEIN",
"steam_id": 1857950,
"url": "vein"
},
"color": 0,
"connect": "165.227.38.76:7777",
"country": "CA",
"domain": null,
"game": 1857950,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19422439,
"ip": "165.227.38.76",
"language": "en",
"last_update": 1794600965,
"map": "Champlain Valley",
"maxplayers": 16,
"name": "Ramjet Experimental Test Server - NA",
"numplayers": 0,
"official": null,
"points": 0,
"port": 7777,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "165.227.38.76:27015",
"secured": false,
"status": false,
"steam_id": "90297362285393931",
"version": "0.026",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Торонто",
"description": null,
"disabled_modules": [],
"gamemode": "VEIN",
"hidden": false,
"last_offline": 1794600965,
"last_online": 1794528312,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1592,
"wipe_period": null,
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19422439");
$data = json_decode($json, true);
var_dump($data);