This repository fetches serveral (mostly German) catalogs and converts the entries to an array
Please use with caution, happy to invite new contributors.
Via Composer
$ composer require libreja/sru-catalog-apiAn online demo can be found here https://wikioverdata.toolforge.org/sru-catalog-demo/
For an example response please click [here](https://wikioverdata.toolforge.org/sru-catalog-demo/api.php?service=gvk&maximumRecords=3&fields[title]=Der Richter und sein Henker)
Currently you may choose from 5 services
gvkGemeinsamer VerbundkatalogbvbBibliotheksverbund BayernswbSüdwestdeutscher Bibliotheksverbund Baden-Württemberg, Saarland, SachsenlocLibrary of CongressdnbDeutsche Nationalbibliothek
use Libreja\SruCatalog;
$sruCatalog = new SruCatalog\CatalogMain();
$sruCatalog->service = "dnb";
var_dump($sruCatalog->parse([
"title" => 'Meier',
]));(can be generated by php tests/supportByService.php)
| key | German-trans | gvk | bvb | dnb | swb | loc |
|---|---|---|---|---|---|---|
| all | Alles | x | x | x | ||
| title | Titel | x | x | x | x | x |
| author | Autor | x | x | x | x | x |
| subject | Stichwort | x | x | x | x | x |
| idn | Identifikationnr des Katalogs (ppn) | x | x | x | x | x |
| isxn | ISXN | x | x | x | x | x |
| isbn | ISBN | x | x | x | ||
| issn | ISSN | x | x | |||
| publisher | Verleger/Firma | x | x | |||
| publisherPlace | Verleger Ort | x | x | |||
| year | Jahr | x | x | x | ||
| language | Sprache | x | x | |||
| corporation | Körperschaft | x | x | x |
$ vendor/bin/phpunit tests/TestAllServices.phpPlease contact us
- Libreja (https://www.libreja.de/)
- Martin Schibel (https://github.com/mshd)
The MIT License (MIT). Please see License File for more information.