Hoi, This function is for OL to get a VIAF for every author with a book they know the isbn for. Getting a Wikidata identificeren is great but additional.
Adding this info to the OL database is the objective. Adding the Wikidata identifier is also relevant. It is how OL gets a better connection between our projects.
It may be a start for a good synchronsation between our projects. As a tool we could provide a tool where we enter an ISDN and get the VIAF in return. Thanks, GerardM
Op za 1 apr. 2017 om 12:26 schreef raffaele messuti raffaele@docuver.se
On 01/04/17 11:31, Gerard Meijssen wrote:
Next week an API will become available at Open Library that provides their available books for an author based on their identifier.
great!
What I have asked the OL is to provide their identifier per author, combined with the ISBN for an author.
what do you mean for "ISBN for an author"?
maybe you might be interested in this simple api wrapper[1] i made few months ago. it combines OCLC Classify API[2] and the wikidata sparql to get authors (and their viaf and wikidata id) from a book's ISBN.
example:
Concrete Island, JG Ballard https://www.worldcat.org/title/concrete-island/oclc/934107293 ISBN-13 9780007287048
$ curl https://isbn-authors.herokuapp.com/api/v1/authors/9780007287048 [ { "name": "Ballard, J. G., 1930-2009", "viaf": "9842556", "wikidata_id": "Q140201" } ]
(note: the example api is hosted on heroku free tier, and is quite slow)
-- raffaele@docuver.se
[1] https://github.com/atomotic/isbn-authors [2] http://classify.oclc.org/classify2/api_docs/index.html
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata