goodreads

package
v0.0.0-...-6ef9f10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Goodreads

type Goodreads struct {
	shared.Config

	Token        string
	GraphQLToken string
}

Goodreads contains the scope for doing work against the goodreads API.

func (*Goodreads) GetBooks

func (g *Goodreads) GetBooks(ctx context.Context) ([]responses.Review, error)

GetBooks gets the 100 most recent reviews for Nat.

func (*Goodreads) UploadBook

func (g *Goodreads) UploadBook(ctx context.Context, b responses.AuthorBook) error

UploadBook uploads a single book.

func (*Goodreads) UpsertBooks

func (g *Goodreads) UpsertBooks(ctx context.Context) error

UpsertBooks gets books and uploads them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL