podrecznikomat/php-isbn-api
最新稳定版本:v0.2
Composer 安装命令:
composer require podrecznikomat/php-isbn-api
包简介
Client for retrieving book data using ISBN API.
README 文档
README
A PHP library for retrieving book data by ISBN.
Installation
Requires Composer.
composer require podrecznikomat/php-isbn-api
Requirements
- PHP >= 8.1
- GuzzleHttp
Quick Start
use Podrecznikomat\IsbnApi\Client; use Podrecznikomat\IsbnApi\IsbnEnum; $client = new Client(IsbnEnum::E_ISBN_PL); $book = $client->api()->getBookByIsbn('9788324677658'); // Access book data echo $book->getFullTitle(); echo $book->getAuthorsAsString();
Book Object Structure
- isbn
- title
- subtitle
- authors
- publisher
- publishedDate
- language
- subjects
- edition
API Support list
- e-isbn.pl
- Google Books API
- Open Library API
Tests
To run tests:
vendor/bin/phpunit tests
License
Copyright (c) 2025 Podrecznikomat
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify, merge, publish, and distribute the Software within their own projects, subject to the following conditions:
- Attribution: Any use of the Software must give appropriate credit, including the name of the original author(s).
- Non-Sale: The Software itself, in source or compiled form, may not be sold as a standalone product.
- Integration: The Software may be used within commercial or non-commercial projects, provided the above conditions are met.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
Contact
Author: Patryk Molenda Email: patryk.fr.molenda@gmail.com
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-09-16