日付・場・レース番号から BOATCAST のレースリプレイ(2020-01-01 以降)へのリンクを作る静的ページ
Translation pending
Sports & fitnessJavaScript · HTMLGitHub @shimomoOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗日付・場・レース番号から、BOATCAST のレースリプレイ(2020-01-01 以降)へのリンクを作る静的ページです。
1日1ファイルの静的 JSON です。2020-01-01 から前日(JST)までを毎朝 7:00 JST に追加します。
https://shimomo.github.io/boatrace-replay-links/api/v1/YYYY/YYYYMMDD.json
{"date":"2024-04-09","stadiums":{"1":{"name":"桐生","title":"開催タイトル","races":{"1":{"subtitle":"一般","replay_url":"https://front.player.boatrace-cdn.jp/player/vod?..."}}}}}
stadiums["<場番号>"].races["<レース番号>"].replay_url でリプレイ URL を引けます。開催のない場は含まれません。
生成は boatraceopenapi/programs の v3 データから行います。
# ローカルの clone から(バックフィル)
node scripts/build.mjs --source <clone>/docs/v3 --from 2020-01-01
# HTTP から(日次。作成済みの日は飛ばす)
node scripts/build.mjs --source http --from 2020-01-01 --missing-only
Boatrace Replay Links は MIT license の元で公開されています。