search_goodreads: Search Goodreads

View source: R/search_goodreads.R

search_goodreadsR Documentation

Search Goodreads

Description

This function searches books on Goodreads.

Usage

search_goodreads(
  search_term,
  search_in = c("title", "author"),
  num_books = 10,
  sort_by = "ratings"
)

Arguments

search_term

A search term string.

search_in

Where to search (e.g., "title", "author").

num_books

Number of books to return.

sort_by

How to sort the results (e.g., "ratings", "published_year").

Value

A data frame of search results.

Examples

search_goodreads("parenting", search_in = "title", num_books = 2)

Goodreader documentation built on Oct. 30, 2024, 9:11 a.m.