Hello Prakhar:

OpenLibrary has a RESTful API that will return information on individual works, 
editions, and authors. 

For works:      https://openlibrary.org/works/[work OLID].json
For editions:   https://openlibrary.org/books/[edition OLID].json
For authors:    https://openlibrary.org/authors/[author OLID].json

Replace [work OLID], [edition OLID] and [authorOLID] with the actual OLID.

You can get editions of a work with:

https://openlibrary.org/works/[work OLID]/editions.json

You can get works of an author with:

https://openlibrary.org/authors/[author OLID]/works.json

These last two queries take offset and limit parameters. For example:

https://openlibrary.org/authors/[author OLID]/works.json?offset=0&limit=5

This is handy because you might not want everything, and OpenLibrary breaks up 
large result sets.

You can find the OpenLibrary documentation for this at:

https://openlibrary.org/dev/docs/restful_api

Good Hunting!

Regards,

Bob Wakefield
_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/[email protected]/
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to