library laravel-openbd
OpenBD API
revolution/laravel-openbd
OpenBD API
- Tuesday, December 26, 2017
- by revolution
- Repository
- 1 Watchers
- 0 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
OpenBD API for Laravel
https://openbd.jp/, (*1)
Requirements
- PHP >= 7.2
- Laravel >= 6.0
Installation
Composer
composer require revolution/laravel-openbd
Usage
すべて array が返り値。, (*2)
use OpenBD;
//かなりサイズが大きい
$coverage = OpenBD::coverage();
$schema = OpenBD::schema();
//arrayで指定。指定するISBNは10000件まで。openBD側はまとめて取得を推奨している。openBDサイトの配布資料を読んだほうがいい。
$books = OpenBD::get(['978-4-7808-0204-7']);
without Laravel
use Revolution\OpenBD\OpenBD;
$openbd = new OpenBD();
$books = $openbd->get(['978-4-7808-0204-7']);
When endpoint changed
$books = OpenBD::endpoint('https://api.openbd.jp/v1/')->get(['978-4-7808-0204-7']);
LICENSE
MIT
Copyright kawax, (*3)
dev-master
9999999-dev
OpenBD API
Sources
Download
MIT
The Requires
The Development Requires
by
kawax
laravel
openbd
1.0.0
1.0.0.0
OpenBD API
Sources
Download
MIT
The Requires
The Development Requires
by
kawax
laravel
openbd