API dla nomarust Long | JP | Vanilla | Monthly
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 81,
"fps_avg": 80,
"entities_count": 155414,
"world_seed": 1778241695,
"world_size": 5000,
"steam_id": "90286555378276376",
"domain": null,
"id": 11596723,
"ip": "160.16.60.191",
"port": 31015,
"query": 31017,
"color": 0,
"city": "Tokyo",
"description": "Next wipe:2026-06-12_21:00:00(JST)\r\n---\r\nWelcome! nomarust server!\r\n---\r\nMax team size:8\r\nMax players:200\r\nWorld size:5000\r\nWipe schedule:monthly\r\nWipe type: FULL\r\nNext restart/stop time:2026-06-04_21:00:00(JST)\r\nLive Streaming:OK",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779884604,
"last_online": 1780566034,
"icon": null,
"name": "nomarust Long | JP | Vanilla | Monthly",
"connect": "160.16.60.191:31015",
"request": "160.16.60.191:31017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779358597,
"last_update": 1780566034,
"banned": false,
"wipe": 1778242562,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5301,
"language": "ja",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11596723");
$data = json_decode($json, true);
var_dump($data);