PixARK
API для NKGames - (v1.221)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11119877json
{
"response": {
"steam_id": "90281737999197184",
"domain": null,
"id": 11119877,
"ip": "34.87.16.8",
"port": 27016,
"query": 27015,
"color": 0,
"city": "Singapore",
"description": null,
"game": 593600,
"owner": null,
"boosts": 1,
"last_offline": 1770143504,
"score": 0,
"last_online": 1777506055,
"icon": null,
"name": "NKGames - (v1.221)",
"connect": "34.87.16.8:27016",
"request": "34.87.16.8:27015",
"map": "CubeWorld_Light",
"gamemode": "CW_GameMode_C",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": true,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770113676,
"last_update": 1777506055,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 130,
"language": "en",
"parked": false,
"app": {
"id": 188,
"steam_id": 593600,
"name": "PixARK",
"url": "pixark"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11119877");
$data = json_decode($json, true);
var_dump($data);