API dla jp pve raven
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 183,
"fps_avg": 191,
"entities_count": 102070,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90286609274659861",
"domain": null,
"id": 11645228,
"ip": "85.131.244.249",
"port": 28015,
"query": 29015,
"color": 0,
"city": "Chiyoda City",
"description": "\nようこそ、レイブンサーバーへ。\r\n\r\n初心者さん大歓迎。\r\nこのサーバーは、初級〜中級難易度のRustサーバーです。\r\n\r\n現在はテスト版のため、不具合が発生する場合があります。\r\nご理解とご協力をお願いいたします。\r\n\r\n【導入要素】\r\n・リサイクラー即時解体\r\n・スタック数5倍\r\n・スキルツリー\r\n・料理と食材システム\r\n・バックパック\r\n・ゲーム内通貨\r\n・換金、スキン購入\r\n・購入型レイド拠点\r\n・便利ボタン\r\n・各種イベント\r\n\r\n【サーバールール】\r\n・他人への迷惑行為は禁止\r\n・建築物への妨害は禁止\r\n・バグ利用、悪質な行為は禁止\r\n・毎朝5時にサーバー再起動\r\n\r\n※Discord参加必須です。\r\n外部ウェブリンクからご参加ください。",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780608256,
"last_online": 1780606236,
"icon": null,
"name": "jp pve raven",
"connect": "85.131.244.249:28015",
"request": "85.131.244.249:29015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780177455,
"last_update": 1780608256,
"banned": false,
"wipe": 1780048012,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9575,
"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/11645228");
$data = json_decode($json, true);
var_dump($data);