API для Palmekysten Solo/Duo/Trio +NPC Bases+ [NOR/EU]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 28,
"fps_avg": 27,
"entities_count": 67208,
"world_seed": 21001488,
"world_size": 3500,
"steam_id": "90286426108268562",
"domain": null,
"id": 11606766,
"ip": "217.170.197.246",
"port": 28215,
"query": 28216,
"color": 0,
"city": "Oslo",
"description": "![Palmekysten Solo/Duo/Trio +NPC Bases+ [NOR/EU]](https://i.imgur.com/9LyfU45.png)\nVelkommen til Palmekysten! \r\n\r\n• Weekly Thursday WIPE at 16.00\r\n• Max Group: 3 \r\n• 2x stack size 1.5x gathering \r\n• Upkeep: 50%\r\n• Raid Block: 00:00 - 09:00\r\n• NPC Bases\r\n• No cheat or scripting \r\n• Limit griefing, beginner friendly.\r\n\r\nDiscord: https://discord.gg/uAyPb4s5 \r\nHa en fin wipe!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779915481,
"last_online": 1780555230,
"icon": null,
"name": "Palmekysten Solo/Duo/Trio +NPC Bases+ [NOR/EU]",
"connect": "217.170.197.246:28215",
"request": "217.170.197.246:28216",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915481,
"last_update": 1780555230,
"banned": false,
"wipe": 1779372939,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5357,
"language": "no",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11606766");
$data = json_decode($json, true);
var_dump($data);