0.0
No release in over 3 years
A Ruby gem to interact with the FJORD BOOT CAMP API. Provides both a library and CLI for accessing reports, users, practices, and trainee progress data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 5.0
~> 13.0
~> 1.0
~> 3.0

Runtime

>= 1.0, < 3.0
~> 1.0
 Project Readme

fjord_boot_camp

FJORD BOOT CAMP API の Ruby クライアント。ライブラリとしても CLI としても使える。

インストール

gem install fjord_boot_camp

または Gemfile に追加:

gem "fjord_boot_camp"

セットアップ

環境変数を設定:

export BOOTCAMP_ACCESS_TOKEN="your-oauth-token"

BOOTCAMP_URL はデフォルトで https://bootcamp.fjord.jp が設定済み。変更が必要な場合のみ指定:

export BOOTCAMP_URL="https://your-custom-url.example.com"  # 省略可

CLI で使う

# 最近の日報
fjord_boot_camp reports recent

# 日報一覧(JSON出力)
fjord_boot_camp reports list --format json --limit 10

# 日報詳細
fjord_boot_camp reports show 12345

# ユーザー一覧
fjord_boot_camp users list --target trainee

# 研修生の週次進捗レポート
fjord_boot_camp progress
fjord_boot_camp progress --week-start 2026-03-16
fjord_boot_camp progress --company-id 1

# JSON出力(AIエージェント向き)
fjord_boot_camp progress --format json

ライブラリとして使う

require "fjord_boot_camp"

FjordBootCamp.configure do |config|
  config.base_url = "https://bootcamp.fjord.jp"
  config.access_token = "your-oauth-token"
end

client = FjordBootCamp.client

# 日報
reports = client.reports.list(limit: 10)
report = client.reports.find(12345)
recent = client.reports.recent

# ユーザー
trainees = client.users.trainees
user = client.users.find(1)

# プラクティス
practices = client.practices.list

# 研修生進捗
progress = client.trainee_progresses.list
progress = client.trainee_progresses.list(week_start: "2026-03-16", company_id: 1)

開発

git clone https://github.com/fjordllc/fjord_boot_camp.git
cd fjord_boot_camp
bin/setup
bin/console

License

MIT