Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Author ¶
type Author struct {
ID string `xml:"id"`
Name string `xml:"name"`
ImageURL string `xml:"image_url"`
SmallImageURL string `xml:"small_image_url"`
LargeImageURL string `xml:"large_image_url"`
Link string `xml:"link"`
AverageRating float32 `xml:"average_rating"`
RatingsCount int `xml:"ratings_count"`
TextReviewsCount int `xml:"text_reviews_count"`
FansCount int `xml:"fans_count"`
AuthorFollowers int `xml:"author_followers"`
About string `xml:"about"`
WorksCount int `xml:"works_count"`
Gender string `xml:"gender"`
Hometown string `xml:"hometown"`
BornAt string `xml:"born_at"`
DiedAt string `xml:"died_at"`
GoodreadsAuthor bool `xml:"goodreads_author"`
UserID string `xml:"user>user_id"`
Books []AuthorBook `xml:"books>book"`
}
type AuthorBook ¶
type AuthorBook struct {
ID string `xml:"id"`
ISBN string `xml:"isbn"`
ISBN13 string `xml:"isbn13"`
TextReviewsCount int `xml:"text_reviews_count"`
URI string `xml:"uri"`
Title string `xml:"title"`
TitleWithoutSeries string `xml:"title_without_series"`
ImageURL string `xml:"image_url"`
SmallImageURL string `xml:"small_image_url"`
LargeImageURL string `xml:"large_image_url"`
Link string `xml:"link"`
NumPages int `xml:"num_pages"`
Format string `xml:"format"`
EditionInformation string `xml:"edition_information"`
Publisher string `xml:"publisher"`
PublicationDay int `xml:"publication_day"`
PublicationYear int `xml:"publication_year"`
PublicationMonth int `xml:"publication_month"`
AverageRating float32 `xml:"average_rating"`
RatingsCount int `xml:"ratings_count"`
Description string `xml:"description"`
Authors []Author `xml:"authors>author"`
}
type ReviewCounts ¶
type ReviewCounts struct {
ID int `json:"id"`
ISBN string `json:"isbn"`
ISBN13 string `json:"isbn13"`
RatingsCount int `json:"ratings_count"`
ReviewsCount int `json:"reviews_count"`
TextReviewsCount int `json:"text_reviews_count"`
WorkRatingsCount int `json:"work_ratings_count"`
WorkReviewsCount int `json:"work_reviews_count"`
WorkTextReviewsCount int `json:"work_text_reviews_count"`
AverageRating string `json:"average_rating"`
}
ReviewCounts defines the review statistics from the book.review_counts method in the Goodreads API.
type User ¶
type User struct {
ID string `xml:"id"`
Name string `xml:"name"`
Link string `xml:"link"`
ImageURL string `xml:"image_url"`
SmallImageURL string `xml:"small_image_url"`
About string `xml:"about"`
Gender string `xml:"gender"`
Location string `xml:"location"`
Website string `xml:"website"`
Joined string `xml:"joined"`
LastActive string `xml:"last_active"`
FriendsCount int `xml:"friends_count"`
GroupsCount int `xml:"groups_count"`
ReviewCount int `xml:"reviews_count"`
UserShelves []UserShelf `xml:"user_shelves>user_shelf"`
}
Click to show internal directories.
Click to hide internal directories.