R/book_by_title.R

Defines functions book_by_title

Documented in book_by_title

#' Query book from the Goodreads API by title
#'
#' Query for Goodreads books based on titles.
#' @param title Title of the book
#' @return A \code{data.frame} of book with corresponding information
#'
#' @export
book_by_title <- function(title) {
    tbl <- NULL
    ggr <- goodreads_GET ('book/title', title=title)
    tbl <- goodreads_parse_book(ggr)
    tbl
}
Famguy/rgoodreads documentation built on May 6, 2019, 4:09 p.m.