PHPackages                             bvp/tsu-scraper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bvp/tsu-scraper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bvp/tsu-scraper
===============

The BVP Tsu Scraper for Boatrace.

5.3.0(9mo ago)03MITPHPPHP ^8.2CI passing

Since Apr 12Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/shimomo/bvp-tsu-scraper)[ Packagist](https://packagist.org/packages/bvp/tsu-scraper)[ RSS](/packages/bvp-tsu-scraper/feed)WikiDiscussions develop-5.x Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

BVP Tsu Scraper
===============

[](#bvp-tsu-scraper)

[![tests](https://github.com/shimomo/bvp-tsu-scraper/actions/workflows/tests.yml/badge.svg)](https://github.com/shimomo/bvp-tsu-scraper/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/d32299834d8ae17edcb32012cf0f54ead800e2ba41b450d207b1614642d74d89/68747470733a2f2f636f6465636f762e696f2f67682f7368696d6f6d6f2f6276702d7473752d736372617065722f67726170682f62616467652e7376673f746f6b656e3d31414333524134324246)](https://codecov.io/gh/shimomo/bvp-tsu-scraper)[![php](https://camo.githubusercontent.com/d905ddd8ec4fbccf00b673a399ce65f0fce9bd2e65386bbd9b1c95e162f53a8d/68747470733a2f2f706f7365722e707567782e6f72672f6276702f7473752d736372617065722f726571756972652f706870)](https://packagist.org/packages/bvp/tsu-scraper)[![stable](https://camo.githubusercontent.com/4a891167f2bdc162ba5b47df9c4b68756ba18aa4aba029711d6d24af497d856a/68747470733a2f2f706f7365722e707567782e6f72672f6276702f7473752d736372617065722f762f737461626c65)](https://packagist.org/packages/bvp/tsu-scraper)[![unstable](https://camo.githubusercontent.com/41130da04cd4c65be0fcd8a1edc9eb3fdf76670a6443cee4472030e9c2b2930e/68747470733a2f2f706f7365722e707567782e6f72672f6276702f7473752d736372617065722f762f756e737461626c65)](https://packagist.org/packages/bvp/tsu-scraper#5.x-dev)[![license](https://camo.githubusercontent.com/f4efbc3f02b13e0b99e453128bfdce9bc21be2cc879bb6c35f37710b91552b16/68747470733a2f2f706f7365722e707567782e6f72672f6276702f7473752d736372617065722f6c6963656e7365)](https://packagist.org/packages/bvp/tsu-scraper)

BVP Tsu Scraper は、ボートレース津の公式サイトから記者予想をスクレイピングして取得できる PHP ライブラリです。

📦 Requirements
--------------

[](#-requirements)

- PHP ^8.2
- Composer
- Carbon

💾 Installation
--------------

[](#-installation)

```
composer require bvp/tsu-scraper
```

⚡ Usage
-------

[](#-usage)

### サポートメソッド一覧

[](#サポートメソッド一覧)

メソッド説明引数`Scraper::scrapeForecasts($raceNumber, $raceDate = null)`記者予想を取得`$raceNumber` : 1〜12
`$raceDate` : Carbon対応日付文字列またはCarbonインスタンス（省略時は当日）**$raceDate の例**

- `'2025-01-01'`
- `'2025/01/01'`
- `'yesterday'`
- `Carbon::now()->subDay()`

### 基本的な使い方

[](#基本的な使い方)

```
