Importing Your Goodreads and Accessing Them with Open Library’s APIs (blog.openlibrary.org) 4 points by sudobash1 5y ago ↗ HN
[–] sudobash1 5y ago ↗ > One of my favorite parts of Open Library is that practically every page is an API. All that is required is adding “.json” to the end. Here are some examples:>>Search>https://openlibrary.org/search?q=lord+of+the+rings is our search page for humans…>https://openlibrary.org/search.json?q=lord+of+the+rings is our Search API!This is a really intuitive way to do this. [–] 1vuio0pswjnm7 5y ago ↗ It is also spider-friendly as to its static pages. See robots.txtTake the page URL for any work, add .json and you get bibliographic information, including the page URL(s) for the author(s).For example, https://openlibrary.org/works/OL1234567W.json All the page URLs for Works and Authors are available as gzip'd XML at https://openlibrary.org/static/sitemaps/
[–] 1vuio0pswjnm7 5y ago ↗ It is also spider-friendly as to its static pages. See robots.txtTake the page URL for any work, add .json and you get bibliographic information, including the page URL(s) for the author(s).For example, https://openlibrary.org/works/OL1234567W.json All the page URLs for Works and Authors are available as gzip'd XML at https://openlibrary.org/static/sitemaps/
2 comments
[ 3.1 ms ] story [ 15.5 ms ] thread>
>Search
>https://openlibrary.org/search?q=lord+of+the+rings is our search page for humans…
>https://openlibrary.org/search.json?q=lord+of+the+rings is our Search API!
This is a really intuitive way to do this.
Take the page URL for any work, add .json and you get bibliographic information, including the page URL(s) for the author(s).
For example,
All the page URLs for Works and Authors are available as gzip'd XML at