PHPackages                             bvp/fukuoka-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. bvp/fukuoka-scraper

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

bvp/fukuoka-scraper
===================

Fukuoka Scraper for Boatrace Venture Project

6.0.2(1mo ago)016MITPHPPHP ^8.2CI passing

Since Mar 24Pushed 1mo ago1 watchersCompare

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

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

Fukuoka Scraper for Boatrace Venture Project
============================================

[](#fukuoka-scraper-for-boatrace-venture-project)

[![security](https://github.com/shimomo/bvp-fukuoka-scraper/actions/workflows/security.yml/badge.svg)](https://github.com/shimomo/bvp-fukuoka-scraper/actions/workflows/security.yml)[![test](https://github.com/shimomo/bvp-fukuoka-scraper/actions/workflows/test.yml/badge.svg)](https://github.com/shimomo/bvp-fukuoka-scraper/actions/workflows/test.yml)[![codecov](https://camo.githubusercontent.com/048304fed947586837f597c07a35f473f8ae2d6de842bd2b60c5a4f1b706b205/68747470733a2f2f636f6465636f762e696f2f67682f7368696d6f6d6f2f6276702d66756b756f6b612d736372617065722f67726170682f62616467652e7376673f746f6b656e3d4e35326c63765a48476a)](https://codecov.io/gh/shimomo/bvp-fukuoka-scraper)[![php](https://camo.githubusercontent.com/16cdde503e6e8da5b2c2c22e284cea26c1537fd6699edd87c2e821bec0929664/68747470733a2f2f706f7365722e707567782e6f72672f6276702f66756b756f6b612d736372617065722f726571756972652f706870)](https://packagist.org/packages/bvp/fukuoka-scraper)[![stable](https://camo.githubusercontent.com/109e70715e88ed3e3739454a0ef5a34cf84f7beb9190e590c7f059f64dabe9de/68747470733a2f2f706f7365722e707567782e6f72672f6276702f66756b756f6b612d736372617065722f762f737461626c65)](https://packagist.org/packages/bvp/fukuoka-scraper)[![license](https://camo.githubusercontent.com/d3a8a3048e87ca8470ef15ce817c07f8b6c6f472e547578f91d17884c9d045fd/68747470733a2f2f706f7365722e707567782e6f72672f6276702f66756b756f6b612d736372617065722f6c6963656e7365)](https://packagist.org/packages/bvp/fukuoka-scraper)

Fukuoka Scraper は、ボートレース福岡の公式サイトから選手コメント、記者予想、オリジナル展示タイムをスクレイピングするための PHP ライブラリです。

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

[](#-requirements)

- PHP: ^8.2
- bvp/scraper-core: ^6.1
- nesbot/carbon: ^2.63 || ^3.0

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

[](#-installation)

```
composer require bvp/fukuoka-scraper
```

⚡ Usage
-------

[](#-usage)

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

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

MethodDescription`Scraper::scrapeComments(`
 `CarbonInterface`|`string`|`null $date = null,`
 `int`|`string`|`array`|`null $numbers = null`
`)`選手コメントを取得
 `$date` : 対象日を Carbon インスタンス
または Carbon 対応日付文字列で指定
（省略時は本日）
`$numbers` : 対象レース番号を 1〜12 の
整数・数値文字列・配列で指定
（省略時は全レース番号）`Scraper::scrapeForecasts(`
 `CarbonInterface`|`string`|`null $date = null,`
 `int`|`string`|`array`|`null $numbers = null`
`)`記者予想を取得
同上`Scraper::scrapeTimes(`
 `CarbonInterface`|`string`|`null $date = null,`
 `int`|`string`|`array`|`null $numbers = null`
`)`オリジナル展示タイムを取得
同上**$date の例**

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

**$numbers の例**

- `1`
- `'1'`
- `[1, 2, 3]`
- `['1', '2', '3']`

### 基本的な使い方

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

```
