{"id":19338289,"url":"https://github.com/gbv/viaf-jskos","last_synced_at":"2025-04-23T01:31:23.949Z","repository":{"id":62509307,"uuid":"100252582","full_name":"gbv/viaf-jskos","owner":"gbv","description":"JSKOS wrapper to Virtual International Authority File (VIAF)","archived":true,"fork":false,"pushed_at":"2017-09-08T09:50:15.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-24T08:16:51.996Z","etag":null,"topics":["coli-conc","jskos","library","service","viaf"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-14T09:48:14.000Z","updated_at":"2024-09-02T10:20:28.000Z","dependencies_parsed_at":"2022-11-02T10:16:36.528Z","dependency_job_id":null,"html_url":"https://github.com/gbv/viaf-jskos","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2Fviaf-jskos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2Fviaf-jskos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2Fviaf-jskos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbv%2Fviaf-jskos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbv","download_url":"https://codeload.github.com/gbv/viaf-jskos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352283,"owners_count":21416463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coli-conc","jskos","library","service","viaf"],"created_at":"2024-11-10T03:16:56.798Z","updated_at":"2025-04-23T01:31:23.628Z","avatar_url":"https://github.com/gbv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# viaf-jskos\n\n[![Latest Version](https://img.shields.io/packagist/v/gbv/viaf-jskos.svg?style=flat-square)](https://packagist.org/packages/gbv/viaf-jskos)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Build Status](https://img.shields.io/travis/gbv/viaf-jskos.svg?style=flat-square)](https://travis-ci.org/gbv/viaf-jskos)\n[![Coverage Status](https://img.shields.io/coveralls/gbv/viaf-jskos/master.svg?style=flat-square)](https://coveralls.io/r/gbv/viaf-jskos)\n[![Quality Score](https://img.shields.io/scrutinizer/g/gbv/viaf-jskos.svg?style=flat-square)](https://scrutinizer-ci.com/g/gbv/viaf-jskos)\n[![Total Downloads](https://img.shields.io/packagist/dt/gbv/viaf-jskos.svg?style=flat-square)](https://packagist.org/packages/gbv/jskos)\n\nThis repository contains a wrapper to access the [Virtual International Authority File (VIAF)](http://viaf.org) in [JSKOS format](https://gbv.github.io/jskos/) via [Entity Lookup Microservice API (ELMA)](http://gbv.github.io/elma/).\n\n# Requirements\n\nRequires PHP 7, [jskos-rdf](https://packagist.org/packages/gbv/jskos-rdf) package and a\n[HTTP client-implementation](https://packagist.org/packages/php-http/client-implementation) package. \n\n# Installation\n\nInstall a HTTP client implementation package, e.g. [curl-client](https://packagist.org/packages/php-http/curl-client) and this package:\n\n~~~bash\ncomposer require php-http/curl-client gbv/viaf-jskos\n~~~\n\nThis 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.\n\n# Usage\n\nThe wrapper can be used as instance of class `\\JSKOS\\Service\\VIAF`, a subclass of `\\JSKOS\\Service`:\n\n~~~php\nrequire 'vendor/autoload.php';\n\n$service = new \\JSKOS\\Service\\VIAF();\n\n$jskos = $service-\u003equeryURI(\"http://viaf.org/viaf/102333412\");\n$jskos = $service-\u003equery([\"uri\" =\u003e \"http://viaf.org/viaf/102333412\"]);\n$jskos = $service-\u003equery([\"notation\" =\u003e \"102333412\"]);\n~~~\n\nThis repository contains a command line script to query VIAF in JSKOS format:\n\n    php examples/viaf2jskos.php http://viaf.org/viaf/102333412\n    php examples/viaf2jskos.php 102333412\n    php examples/viaf2jskos.php Jane Austen\n\n# Contributung\n\nBugs and feature request are [tracked on GitHub](https://github.com/gbv/viaf-jskos/issues).\n\nSee `CONTRIBUTING.md` of repository [jskos-php](https://packagist.org/packages/gbv/jskos) for general guidelines.\n\n# Author and License\n\nJakob Voß \u003cjakob.voss@gbv.de\u003e\n\nThis package is licensed under the LGPL license (see `LICENSE` for details).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbv%2Fviaf-jskos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbv%2Fviaf-jskos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbv%2Fviaf-jskos/lists"}