Welcome to the Corpus-DB Project, a textual corpus database for the digital humanities.
Handles Project Gutenberg IDs, for now. NB: Each id must be floating point, for the moment, so id 9 should be 9.0.
http://corpus-db.org/api/id/<pg-id>Example: get metadata for book with ID 9
http://corpus-db.org/api/id/9.0Handles Project Gutenberg IDs, for now. NB: Each id must be floating point, for the moment, so id 9 should be 9.0.
http://corpus-db.org/api/id/<pg-id>/fulltextExample: get metadata for book with ID 9
http://corpus-db.org/api/id/9.0/fulltextHandles Project Gutenberg authors, for now. Write name in the form Last, First.
http://corpus-db.org/api/author/<Last, First>Example: get metadata for all books by Jane Austen.
http://corpus-db.org/api/author/Austen, JaneHandles Project Gutenberg authors, for now. Write name in the form Last, First.
http://corpus-db.org/api/author/<Last, First>/fulltextExample: get full text for all books by Jane Austen.
http://corpus-db.org/api/author/Austen, Jane/fulltexthttp://corpus-db.org/api/subject/<subject>Example: get metadata for books with the LCSH "Detective and mystery stories".
http://corpus-db.org/api/subject/Detective and mystery storiesAt the moment, this represents all the LCSHs for Project Gutenberg.
http://corpus-db.org/api/subjects