API для [NORDIC]Northern Lights Testing Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793527596,
"app": {
"id": 12,
"name": "Rust",
"steam_id": 252490,
"url": "rust"
},
"color": 0,
"connect": "5.186.77.105:28025",
"country": "DK",
"domain": null,
"game": 252490,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19484342,
"ip": "5.186.77.105",
"language": "da",
"last_update": 1793796744,
"map": "Procedural Map",
"maxplayers": 50,
"name": "[NORDIC]Northern Lights Testing Server",
"numplayers": 0,
"official": null,
"points": 0,
"port": 28025,
"private": false,
"project_id": null,
"pve": 0,
"pvp": null,
"query": 28026,
"request": "5.186.77.105:28026",
"secured": true,
"status": false,
"steam_id": "90296589876803593",
"version": "2635",
"votes": 0,
"wipe": 1792259164,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Оденсе",
"description": "![[NORDIC]Northern Lights Testing Server](https://i.imgur.com/013Wauc.png)\nNorthern Lights Testing Server for testing new stuff",
"disabled_modules": [],
"gamemode": "Survival",
"hidden": false,
"last_offline": 1793796744,
"last_online": 1793786655,
"list_hidden": false,
"map_url": "procedural_map_4500_seed_455953702_r289",
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 22433,
"wipe_period": null,
"fps": 186,
"gmn": "rust",
"url": "",
"hash": "481190f2",
"build": "168909",
"gc_cl": "118",
"gc_mb": "3080",
"fps_avg": 197,
"ram_sys": "0",
"map_kind": "procedural",
"map_name": "Procedural Map",
"map_seed": 455953702,
"map_size": 4500,
"logoimage": "https://i.imgur.com/V3qkTw1.png",
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"map_revision": 289,
"queueplayers": 0,
"map_image_url": "https://files.facepunch.com/rust/map-images/d37432442075a614771719b31d2c61bd5a260de43f576d57e12acadcbbb4f019/proceduralmap.4500.1792259137746.289_d37432442075a614771719b31d2c61bd.jpg",
"entities_count": 124517,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19484342");
$data = json_decode($json, true);
var_dump($data);