2017 © Pedro Peláez
 

library viaf-jskos

JSKOS wrapper to Virtual International Authority File (VIAF)

image

gbv/viaf-jskos

JSKOS wrapper to Virtual International Authority File (VIAF)

  • Friday, September 8, 2017
  • by gbv
  • Repository
  • 2 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 25 % Grown

The README.md

viaf-jskos

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

This repository contains a wrapper to access the Virtual International Authority File (VIAF) in JSKOS format via Entity Lookup Microservice API (ELMA)., (*2)

Requirements

Requires PHP 7, jskos-rdf package and a HTTP client-implementation package., (*3)

Installation

Install a HTTP client implementation package, e.g. curl-client and this package:, (*4)

composer require php-http/curl-client gbv/viaf-jskos

This will automatically create composer.json for your project (unless it already exists) and add viaf-jskos as dependency. Composer also generates vendor/autoload.php to get autoloading of all dependencies., (*5)

Usage

The wrapper can be used as instance of class \JSKOS\Service\VIAF, a subclass of \JSKOS\Service:, (*6)

require 'vendor/autoload.php';

$service = new \JSKOS\Service\VIAF();

$jskos = $service->queryURI("http://viaf.org/viaf/102333412");
$jskos = $service->query(["uri" => "http://viaf.org/viaf/102333412"]);
$jskos = $service->query(["notation" => "102333412"]);

This repository contains a command line script to query VIAF in JSKOS format:, (*7)

php examples/viaf2jskos.php http://viaf.org/viaf/102333412
php examples/viaf2jskos.php 102333412
php examples/viaf2jskos.php Jane Austen

Contributung

Bugs and feature request are tracked on GitHub., (*8)

See CONTRIBUTING.md of repository jskos-php for general guidelines., (*9)

Author and License

Jakob Voß jakob.voss@gbv.de, (*10)

This package is licensed under the LGPL license (see LICENSE for details)., (*11)

The Versions

08/09 2017

dev-master

9999999-dev

JSKOS wrapper to Virtual International Authority File (VIAF)

  Sources   Download

LGPL

The Requires

 

The Development Requires

by Jakob Voss

jskos viaf

08/09 2017

0.2.0

0.2.0.0

JSKOS wrapper to Virtual International Authority File (VIAF)

  Sources   Download

LGPL

The Requires

 

The Development Requires

by Jakob Voss

jskos viaf

14/08 2017

0.1.0

0.1.0.0

JSKOS wrapper to Virtual International Authority File (VIAF)

  Sources   Download

LGPL

The Requires

 

The Development Requires

by Jakob Voss

jskos viaf