Documentation ¶
Index ¶
- Constants
- type Book_GoodreadsResponse
- type Book_Request
- type Book_asin
- type Book_authentication
- type Book_author
- type Book_authors
- type Book_average_rating
- type Book_best_book_id
- type Book_book
- type Book_book_link
- type Book_book_links
- type Book_books_count
- type Book_buy_link
- type Book_buy_links
- type Book_country_code
- type Book_default_chaptering_book_id
- type Book_default_description_language_code
- type Book_desc_user_id
- type Book_description
- type Book_edition_information
- type Book_format
- type Book_id
- type Book_image_url
- type Book_is_ebook
- type Book_isbn
- type Book_isbn13
- type Book_key
- type Book_kindle_asin
- type Book_language_code
- type Book_link
- type Book_marketplace_id
- type Book_media_type
- type Book_method
- type Book_name
- type Book_note
- type Book_num_pages
- type Book_numbered
- type Book_original_language_id
- type Book_original_publication_day
- type Book_original_publication_month
- type Book_original_publication_year
- type Book_original_title
- type Book_popular_shelves
- type Book_primary_work_count
- type Book_publication_day
- type Book_publication_month
- type Book_publication_year
- type Book_publisher
- type Book_rating_dist
- type Book_ratings_count
- type Book_ratings_sum
- type Book_reviews_count
- type Book_reviews_widget
- type Book_role
- type Book_root
- type Book_series
- type Book_series_work
- type Book_series_works
- type Book_series_works_count
- type Book_shelf
- type Book_similar_books
- type Book_small_image_url
- type Book_text_reviews_count
- type Book_title
- type Book_title_without_series
- type Book_url
- type Book_user_position
- type Book_work
- type Client
- func (c *Client) AddBookToShelf(bookid, shelfName string) (err error)
- func (c *Client) AddFriend(userid string) (err error)
- func (c *Client) GetBook(id string) (Book_book, error)
- func (c *Client) GetHttpClient() (*http.Client, error)
- func (c *Client) GetSearch(query string) (searchResults Search_results, err error)
- func (c Client) GetShelf(userID string, params ReviewListParameters) (response Reviews_reviews, err error)
- func (c Client) GetUserShelves(id string) (shelves Shelf_shelves, err error)
- func (c *Client) QueryUser() (user User_user, err error)
- func (c Client) ReviewList(userID string, params ReviewListParameters) (response Reviews_reviews, err error)
- func (c *Client) SetConsumer(consumerKey string, consumerSecret string)
- func (c *Client) SetToken(token string, secret string)
- type ReviewListParameters
- type Reviews_GoodreadsResponse
- type Reviews_Request
- type Reviews_a
- type Reviews_authentication
- type Reviews_author
- type Reviews_authors
- type Reviews_average_rating
- type Reviews_b
- type Reviews_body
- type Reviews_book
- type Reviews_br
- type Reviews_comments_count
- type Reviews_date_added
- type Reviews_date_updated
- type Reviews_description
- type Reviews_edition_information
- type Reviews_em
- type Reviews_format
- type Reviews_i
- type Reviews_id
- type Reviews_image_url
- type Reviews_isbn
- type Reviews_isbn13
- type Reviews_key
- type Reviews_large_image_url
- type Reviews_link
- type Reviews_method
- type Reviews_name
- type Reviews_num_pages
- type Reviews_owned
- type Reviews_p
- type Reviews_publication_day
- type Reviews_publication_month
- type Reviews_publication_year
- type Reviews_published
- type Reviews_publisher
- type Reviews_rating
- type Reviews_ratings_count
- type Reviews_read_at
- type Reviews_read_count
- type Reviews_recommended_by
- type Reviews_recommended_for
- type Reviews_review
- type Reviews_reviews
- type Reviews_role
- type Reviews_root
- type Reviews_shelf
- type Reviews_shelves
- type Reviews_small_image_url
- type Reviews_spoiler_flag
- type Reviews_spoilers_state
- type Reviews_started_at
- type Reviews_text_reviews_count
- type Reviews_title
- type Reviews_title_without_series
- type Reviews_url
- type Reviews_votes
- type Search_GoodreadsResponse
- type Search_Request
- type Search_authentication
- type Search_author
- type Search_average_rating
- type Search_best_book
- type Search_books_count
- type Search_id
- type Search_image_url
- type Search_key
- type Search_method
- type Search_name
- type Search_original_publication_day
- type Search_original_publication_month
- type Search_original_publication_year
- type Search_query
- type Search_query_time_seconds
- type Search_ratings_count
- type Search_results
- type Search_results_end
- type Search_results_start
- type Search_root
- type Search_search
- type Search_small_image_url
- type Search_source
- type Search_text_reviews_count
- type Search_title
- type Search_total_results
- type Search_work
- type Shelf_GoodreadsResponse
- type Shelf_Request
- type Shelf_authentication
- type Shelf_book_count
- type Shelf_description
- type Shelf_display_fields
- type Shelf_exclusive_flag
- type Shelf_featured
- type Shelf_id
- type Shelf_key
- type Shelf_method
- type Shelf_name
- type Shelf_order
- type Shelf_per_page
- type Shelf_recommend_for
- type Shelf_root
- type Shelf_shelves
- type Shelf_sort
- type Shelf_sticky
- type Shelf_user_shelf
- type User_GoodreadsResponse
- type User_Request
- type User_authentication
- type User_key
- type User_link
- type User_method
- type User_name
- type User_root
- type User_user
Constants ¶
View Source
const ( REQUEST_TOKEN_URL = "https://www.goodreads.com/oauth/request_token" AUTHORIZE_TOKEN_URL = "https://www.goodreads.com/oauth/authorize" ACCESS_TOKEN_URL = "https://www.goodreads.com/oauth/access_token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book_GoodreadsResponse ¶
type Book_GoodreadsResponse struct { Book_Request Book_Request `xml:" Request,omitempty" json:"Request,omitempty"` Book_book []Book_book `xml:" book,omitempty" json:"book,omitempty"` }
type Book_Request ¶
type Book_Request struct { Book_authentication Book_authentication `xml:" authentication,omitempty" json:"authentication,omitempty"` Book_key Book_key `xml:" key,omitempty" json:"key,omitempty"` Book_method Book_method `xml:" method,omitempty" json:"method,omitempty"` }
type Book_authentication ¶
type Book_authentication struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_author ¶
type Book_author struct {}
type Book_authors ¶
type Book_authors struct {
}type Book_average_rating ¶
type Book_average_rating struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_best_book_id ¶
type Book_book ¶
type Book_book struct { Book_asin Book_asin `xml:" asin,omitempty" json:"asin,omitempty"` Book_average_rating []Book_average_rating `xml:" average_rating,omitempty" json:"average_rating,omitempty"` Book_book_links Book_book_links `xml:" book_links,omitempty" json:"book_links,omitempty"` Book_buy_links Book_buy_links `xml:" buy_links,omitempty" json:"buy_links,omitempty"` Book_country_code Book_country_code `xml:" country_code,omitempty" json:"country_code,omitempty"` Book_description Book_description `xml:" description,omitempty" json:"description,omitempty"` Book_edition_information Book_edition_information `xml:" edition_information,omitempty" json:"edition_information,omitempty"` Book_format Book_format `xml:" format,omitempty" json:"format,omitempty"` Book_id []Book_id `xml:" id,omitempty" json:"id,omitempty"` Book_image_url []Book_image_url `xml:" image_url,omitempty" json:"image_url,omitempty"` Book_is_ebook Book_is_ebook `xml:" is_ebook,omitempty" json:"is_ebook,omitempty"` Book_isbn []Book_isbn `xml:" isbn,omitempty" json:"isbn,omitempty"` Book_isbn13 []Book_isbn13 `xml:" isbn13,omitempty" json:"isbn13,omitempty"` Book_kindle_asin Book_kindle_asin `xml:" kindle_asin,omitempty" json:"kindle_asin,omitempty"` Book_language_code Book_language_code `xml:" language_code,omitempty" json:"language_code,omitempty"` Book_link []Book_link `xml:" link,omitempty" json:"link,omitempty"` Book_marketplace_id Book_marketplace_id `xml:" marketplace_id,omitempty" json:"marketplace_id,omitempty"` Book_num_pages []Book_num_pages `xml:" num_pages,omitempty" json:"num_pages,omitempty"` Book_popular_shelves Book_popular_shelves `xml:" popular_shelves,omitempty" json:"popular_shelves,omitempty"` Book_publication_day []Book_publication_day `xml:" publication_day,omitempty" json:"publication_day,omitempty"` Book_publication_month []Book_publication_month `xml:" publication_month,omitempty" json:"publication_month,omitempty"` Book_publication_year []Book_publication_year `xml:" publication_year,omitempty" json:"publication_year,omitempty"` Book_publisher Book_publisher `xml:" publisher,omitempty" json:"publisher,omitempty"` Book_ratings_count []Book_ratings_count `xml:" ratings_count,omitempty" json:"ratings_count,omitempty"` Book_reviews_widget Book_reviews_widget `xml:" reviews_widget,omitempty" json:"reviews_widget,omitempty"` Book_series_works Book_series_works `xml:" series_works,omitempty" json:"series_works,omitempty"` Book_similar_books Book_similar_books `xml:" similar_books,omitempty" json:"similar_books,omitempty"` Book_small_image_url []Book_small_image_url `xml:" small_image_url,omitempty" json:"small_image_url,omitempty"` Book_text_reviews_count Book_text_reviews_count `xml:" text_reviews_count,omitempty" json:"text_reviews_count,omitempty"` Book_title []Book_title `xml:" title,omitempty" json:"title,omitempty"` Book_title_without_series Book_title_without_series `xml:" title_without_series,omitempty" json:"title_without_series,omitempty"` Book_url Book_url `xml:" url,omitempty" json:"url,omitempty"` Book_work []Book_work `xml:" work,omitempty" json:"work,omitempty"` }
type Book_book_link ¶
type Book_book_links ¶
type Book_book_links struct {
Book_book_link Book_book_link `xml:" book_link,omitempty" json:"book_link,omitempty"`
}
type Book_books_count ¶
type Book_buy_link ¶
type Book_buy_links ¶
type Book_buy_links struct {
Book_buy_link []Book_buy_link `xml:" buy_link,omitempty" json:"buy_link,omitempty"`
}
type Book_country_code ¶
type Book_country_code struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_default_description_language_code ¶
type Book_default_description_language_code struct {
Attr_nil string `xml:" nil,attr" json:",omitempty"`
}
type Book_desc_user_id ¶
type Book_description ¶
type Book_description struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_edition_information ¶
type Book_edition_information struct { }
type Book_format ¶
type Book_format struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_image_url ¶
type Book_is_ebook ¶
type Book_is_ebook struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_isbn13 ¶
type Book_isbn13 struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_kindle_asin ¶
type Book_kindle_asin struct { }
type Book_language_code ¶
type Book_language_code struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_marketplace_id ¶
type Book_marketplace_id struct { }
type Book_media_type ¶
type Book_media_type struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_method ¶
type Book_method struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_num_pages ¶
type Book_num_pages struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_numbered ¶
type Book_numbered struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_original_title ¶
type Book_original_title struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_popular_shelves ¶
type Book_popular_shelves struct {
Book_shelf []Book_shelf `xml:" shelf,omitempty" json:"shelf,omitempty"`
}
type Book_primary_work_count ¶
type Book_primary_work_count struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_publication_day ¶
type Book_publication_day struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_publication_month ¶
type Book_publication_month struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_publication_year ¶
type Book_publication_year struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_publisher ¶
type Book_publisher struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_rating_dist ¶
type Book_rating_dist struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_ratings_count ¶
type Book_ratings_sum ¶
type Book_reviews_count ¶
type Book_reviews_widget ¶
type Book_reviews_widget struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_root ¶
type Book_root struct {
Book_GoodreadsResponse Book_GoodreadsResponse `xml:" GoodreadsResponse,omitempty" json:"GoodreadsResponse,omitempty"`
}
type Book_series ¶
type Book_series struct { Book_description Book_description `xml:" description,omitempty" json:"description,omitempty"` Book_id []Book_id `xml:" id,omitempty" json:"id,omitempty"` Book_note Book_note `xml:" note,omitempty" json:"note,omitempty"` Book_numbered Book_numbered `xml:" numbered,omitempty" json:"numbered,omitempty"` Book_primary_work_count Book_primary_work_count `xml:" primary_work_count,omitempty" json:"primary_work_count,omitempty"` Book_series_works_count Book_series_works_count `xml:" series_works_count,omitempty" json:"series_works_count,omitempty"` Book_title []Book_title `xml:" title,omitempty" json:"title,omitempty"` }
type Book_series_work ¶
type Book_series_work struct { Book_id []Book_id `xml:" id,omitempty" json:"id,omitempty"` Book_series Book_series `xml:" series,omitempty" json:"series,omitempty"` Book_user_position Book_user_position `xml:" user_position,omitempty" json:"user_position,omitempty"` }
type Book_series_works ¶
type Book_series_works struct {
Book_series_work []Book_series_work `xml:" series_work,omitempty" json:"series_work,omitempty"`
}
type Book_series_works_count ¶
type Book_series_works_count struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_shelf ¶
type Book_similar_books ¶
type Book_similar_books struct {
Book_book []Book_book `xml:" book,omitempty" json:"book,omitempty"`
}
type Book_small_image_url ¶
type Book_text_reviews_count ¶
type Book_title ¶
type Book_title struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_title_without_series ¶
type Book_title_without_series struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_user_position ¶
type Book_user_position struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Book_work ¶
type Book_work struct { Book_best_book_id Book_best_book_id `xml:" best_book_id,omitempty" json:"best_book_id,omitempty"` Book_books_count Book_books_count `xml:" books_count,omitempty" json:"books_count,omitempty"` Book_default_chaptering_book_id Book_default_chaptering_book_id `xml:" default_chaptering_book_id,omitempty" json:"default_chaptering_book_id,omitempty"` Book_default_description_language_code Book_default_description_language_code `xml:" default_description_language_code,omitempty" json:"default_description_language_code,omitempty"` Book_desc_user_id Book_desc_user_id `xml:" desc_user_id,omitempty" json:"desc_user_id,omitempty"` Book_id []Book_id `xml:" id,omitempty" json:"id,omitempty"` Book_media_type Book_media_type `xml:" media_type,omitempty" json:"media_type,omitempty"` Book_original_language_id Book_original_language_id `xml:" original_language_id,omitempty" json:"original_language_id,omitempty"` Book_original_publication_day Book_original_publication_day `xml:" original_publication_day,omitempty" json:"original_publication_day,omitempty"` Book_original_publication_month Book_original_publication_month `xml:" original_publication_month,omitempty" json:"original_publication_month,omitempty"` Book_original_publication_year Book_original_publication_year `xml:" original_publication_year,omitempty" json:"original_publication_year,omitempty"` Book_original_title Book_original_title `xml:" original_title,omitempty" json:"original_title,omitempty"` Book_rating_dist Book_rating_dist `xml:" rating_dist,omitempty" json:"rating_dist,omitempty"` Book_ratings_count []Book_ratings_count `xml:" ratings_count,omitempty" json:"ratings_count,omitempty"` Book_ratings_sum Book_ratings_sum `xml:" ratings_sum,omitempty" json:"ratings_sum,omitempty"` Book_reviews_count Book_reviews_count `xml:" reviews_count,omitempty" json:"reviews_count,omitempty"` Book_text_reviews_count Book_text_reviews_count `xml:" text_reviews_count,omitempty" json:"text_reviews_count,omitempty"` }
type Client ¶
Client is the Goodreads API Client object
func NewClientWithToken ¶
Constructor with Consumer key/secret and user token/secret
func (*Client) AddBookToShelf ¶
AddBookToShelf Adds a book to the given shelf. If not one of the defaults, it will also be added to "read"
func (*Client) GetHttpClient ¶
Retrieve the underlying HTTP client
func (*Client) GetSearch ¶
func (c *Client) GetSearch(query string) (searchResults Search_results, err error)
GetSearch allows search on any string value
func (Client) GetShelf ¶
func (c Client) GetShelf(userID string, params ReviewListParameters) (response Reviews_reviews, err error)
GetShelf is an alternate name for ReviewList because it's listed as both in the Goodreads API documentation
func (Client) GetUserShelves ¶
func (c Client) GetUserShelves(id string) (shelves Shelf_shelves, err error)
GetUserShelves returns a summary of the shelves in the user's account. Requires OAuth
func (Client) ReviewList ¶
func (c Client) ReviewList(userID string, params ReviewListParameters) (response Reviews_reviews, err error)
ReviewList returns the boks on shelves and reviews for the user. Requires OAuth
func (*Client) SetConsumer ¶
Set Consumer credentials, invalidates any previously cached client
type ReviewListParameters ¶
type Reviews_GoodreadsResponse ¶
type Reviews_GoodreadsResponse struct { Reviews_Request Reviews_Request `xml:" Request,omitempty" json:"Request,omitempty"` Reviews_reviews Reviews_reviews `xml:" reviews,omitempty" json:"reviews,omitempty"` }
type Reviews_Request ¶
type Reviews_Request struct { Reviews_authentication Reviews_authentication `xml:" authentication,omitempty" json:"authentication,omitempty"` Reviews_key Reviews_key `xml:" key,omitempty" json:"key,omitempty"` Reviews_method Reviews_method `xml:" method,omitempty" json:"method,omitempty"` }
type Reviews_authentication ¶
type Reviews_authentication struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_author ¶
type Reviews_author struct {}
type Reviews_authors ¶
type Reviews_authors struct {
}type Reviews_average_rating ¶
type Reviews_average_rating struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_b ¶
type Reviews_b struct { Reviews_br []Reviews_br `xml:" br,omitempty" json:"br,omitempty"` Reviews_i []Reviews_i `xml:" i,omitempty" json:"i,omitempty"` Text string `xml:",chardata" json:",omitempty"` }
type Reviews_body ¶
type Reviews_body struct { }
type Reviews_book ¶
type Reviews_book struct { Reviews_average_rating Reviews_average_rating `xml:" average_rating,omitempty" json:"average_rating,omitempty"` Reviews_description Reviews_description `xml:" description,omitempty" json:"description,omitempty"` Reviews_edition_information Reviews_edition_information `xml:" edition_information,omitempty" json:"edition_information,omitempty"` Reviews_format Reviews_format `xml:" format,omitempty" json:"format,omitempty"` Reviews_id Reviews_id `xml:" id,omitempty" json:"id,omitempty"` Reviews_image_url Reviews_image_url `xml:" image_url,omitempty" json:"image_url,omitempty"` Reviews_isbn Reviews_isbn `xml:" isbn,omitempty" json:"isbn,omitempty"` Reviews_isbn13 Reviews_isbn13 `xml:" isbn13,omitempty" json:"isbn13,omitempty"` Reviews_large_image_url Reviews_large_image_url `xml:" large_image_url,omitempty" json:"large_image_url,omitempty"` Reviews_link Reviews_link `xml:" link,omitempty" json:"link,omitempty"` Reviews_num_pages Reviews_num_pages `xml:" num_pages,omitempty" json:"num_pages,omitempty"` Reviews_publication_day Reviews_publication_day `xml:" publication_day,omitempty" json:"publication_day,omitempty"` Reviews_publication_month Reviews_publication_month `xml:" publication_month,omitempty" json:"publication_month,omitempty"` Reviews_publication_year Reviews_publication_year `xml:" publication_year,omitempty" json:"publication_year,omitempty"` Reviews_published Reviews_published `xml:" published,omitempty" json:"published,omitempty"` Reviews_publisher Reviews_publisher `xml:" publisher,omitempty" json:"publisher,omitempty"` Reviews_ratings_count Reviews_ratings_count `xml:" ratings_count,omitempty" json:"ratings_count,omitempty"` Reviews_small_image_url Reviews_small_image_url `xml:" small_image_url,omitempty" json:"small_image_url,omitempty"` Reviews_text_reviews_count Reviews_text_reviews_count `xml:" text_reviews_count,omitempty" json:"text_reviews_count,omitempty"` Reviews_title Reviews_title `xml:" title,omitempty" json:"title,omitempty"` Reviews_title_without_series Reviews_title_without_series `xml:" title_without_series,omitempty" json:"title_without_series,omitempty"` }
type Reviews_br ¶
type Reviews_br struct { }
type Reviews_comments_count ¶
type Reviews_comments_count struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_date_added ¶
type Reviews_date_added struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_date_updated ¶
type Reviews_date_updated struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_description ¶
type Reviews_description struct { Reviews_a Reviews_a `xml:" a,omitempty" json:"a,omitempty"` Reviews_b []Reviews_b `xml:" b,omitempty" json:"b,omitempty"` Reviews_br []Reviews_br `xml:" br,omitempty" json:"br,omitempty"` Reviews_i []Reviews_i `xml:" i,omitempty" json:"i,omitempty"` Reviews_p []Reviews_p `xml:" p,omitempty" json:"p,omitempty"` Text string `xml:",chardata" json:",omitempty"` }
type Reviews_edition_information ¶
type Reviews_edition_information struct { }
type Reviews_em ¶
type Reviews_em struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_format ¶
type Reviews_format struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_id ¶
type Reviews_image_url ¶
type Reviews_isbn ¶
type Reviews_isbn13 ¶
type Reviews_key ¶
type Reviews_key struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_large_image_url ¶
type Reviews_large_image_url struct { }
type Reviews_link ¶
type Reviews_link struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_method ¶
type Reviews_method struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_name ¶
type Reviews_name struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_num_pages ¶
type Reviews_num_pages struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_owned ¶
type Reviews_owned struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_p ¶
type Reviews_p struct { Reviews_em Reviews_em `xml:" em,omitempty" json:"em,omitempty"` Text string `xml:",chardata" json:",omitempty"` }
type Reviews_publication_day ¶
type Reviews_publication_day struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_publication_month ¶
type Reviews_publication_month struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_publication_year ¶
type Reviews_publication_year struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_published ¶
type Reviews_published struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_publisher ¶
type Reviews_publisher struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_rating ¶
type Reviews_rating struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_ratings_count ¶
type Reviews_ratings_count struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_read_at ¶
type Reviews_read_at struct { }
type Reviews_read_count ¶
type Reviews_read_count struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_recommended_by ¶
type Reviews_recommended_by struct { }
type Reviews_recommended_for ¶
type Reviews_recommended_for struct { }
type Reviews_review ¶
type Reviews_review struct { Reviews_body Reviews_body `xml:" body,omitempty" json:"body,omitempty"` Reviews_book Reviews_book `xml:" book,omitempty" json:"book,omitempty"` Reviews_comments_count Reviews_comments_count `xml:" comments_count,omitempty" json:"comments_count,omitempty"` Reviews_date_added Reviews_date_added `xml:" date_added,omitempty" json:"date_added,omitempty"` Reviews_date_updated Reviews_date_updated `xml:" date_updated,omitempty" json:"date_updated,omitempty"` Reviews_id Reviews_id `xml:" id,omitempty" json:"id,omitempty"` Reviews_link Reviews_link `xml:" link,omitempty" json:"link,omitempty"` Reviews_owned Reviews_owned `xml:" owned,omitempty" json:"owned,omitempty"` Reviews_rating Reviews_rating `xml:" rating,omitempty" json:"rating,omitempty"` Reviews_read_at Reviews_read_at `xml:" read_at,omitempty" json:"read_at,omitempty"` Reviews_read_count Reviews_read_count `xml:" read_count,omitempty" json:"read_count,omitempty"` Reviews_recommended_by Reviews_recommended_by `xml:" recommended_by,omitempty" json:"recommended_by,omitempty"` Reviews_recommended_for Reviews_recommended_for `xml:" recommended_for,omitempty" json:"recommended_for,omitempty"` Reviews_shelves Reviews_shelves `xml:" shelves,omitempty" json:"shelves,omitempty"` Reviews_spoiler_flag Reviews_spoiler_flag `xml:" spoiler_flag,omitempty" json:"spoiler_flag,omitempty"` Reviews_spoilers_state Reviews_spoilers_state `xml:" spoilers_state,omitempty" json:"spoilers_state,omitempty"` Reviews_started_at Reviews_started_at `xml:" started_at,omitempty" json:"started_at,omitempty"` Reviews_url Reviews_url `xml:" url,omitempty" json:"url,omitempty"` Reviews_votes Reviews_votes `xml:" votes,omitempty" json:"votes,omitempty"` }
type Reviews_reviews ¶
type Reviews_reviews struct { Attr_end string `xml:" end,attr" json:",omitempty"` Attr_start string `xml:" start,attr" json:",omitempty"` Attr_total string `xml:" total,attr" json:",omitempty"` Reviews_review []Reviews_review `xml:" review,omitempty" json:"review,omitempty"` }
type Reviews_role ¶
type Reviews_role struct { }
type Reviews_root ¶
type Reviews_root struct {
Reviews_GoodreadsResponse Reviews_GoodreadsResponse `xml:" GoodreadsResponse,omitempty" json:"GoodreadsResponse,omitempty"`
}
type Reviews_shelf ¶
type Reviews_shelves ¶
type Reviews_shelves struct {
Reviews_shelf []Reviews_shelf `xml:" shelf,omitempty" json:"shelf,omitempty"`
}
type Reviews_small_image_url ¶
type Reviews_spoiler_flag ¶
type Reviews_spoiler_flag struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_spoilers_state ¶
type Reviews_spoilers_state struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_started_at ¶
type Reviews_started_at struct { }
type Reviews_title ¶
type Reviews_title struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_title_without_series ¶
type Reviews_title_without_series struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_url ¶
type Reviews_url struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Reviews_votes ¶
type Reviews_votes struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_GoodreadsResponse ¶
type Search_GoodreadsResponse struct { Search_Request Search_Request `xml:" Request,omitempty" json:"Request,omitempty"` Search_search Search_search `xml:" search,omitempty" json:"search,omitempty"` }
type Search_Request ¶
type Search_Request struct { Search_authentication Search_authentication `xml:" authentication,omitempty" json:"authentication,omitempty"` Search_key Search_key `xml:" key,omitempty" json:"key,omitempty"` Search_method Search_method `xml:" method,omitempty" json:"method,omitempty"` }
type Search_authentication ¶
type Search_authentication struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_author ¶
type Search_author struct {}
type Search_average_rating ¶
type Search_average_rating struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_best_book ¶
type Search_best_book struct { Attr_type string `xml:" type,attr" json:",omitempty"` Search_id Search_id `xml:" id,omitempty" json:"id,omitempty"` Search_image_url Search_image_url `xml:" image_url,omitempty" json:"image_url,omitempty"` Search_small_image_url Search_small_image_url `xml:" small_image_url,omitempty" json:"small_image_url,omitempty"` Search_title Search_title `xml:" title,omitempty" json:"title,omitempty"` }
type Search_books_count ¶
type Search_image_url ¶
type Search_image_url struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_key ¶
type Search_key struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_method ¶
type Search_method struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_name ¶
type Search_name struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_query ¶
type Search_query struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_query_time_seconds ¶
type Search_query_time_seconds struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_ratings_count ¶
type Search_results ¶
type Search_results struct {
Search_work []Search_work `xml:" work,omitempty" json:"work,omitempty"`
}
type Search_results_end ¶
type Search_results_end struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_results_start ¶
type Search_results_start struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_root ¶
type Search_root struct {
Search_GoodreadsResponse Search_GoodreadsResponse `xml:" GoodreadsResponse,omitempty" json:"GoodreadsResponse,omitempty"`
}
type Search_search ¶
type Search_search struct { Search_query Search_query `xml:" query,omitempty" json:"query,omitempty"` Search_query_time_seconds Search_query_time_seconds `xml:" query-time-seconds,omitempty" json:"query-time-seconds,omitempty"` Search_results Search_results `xml:" results,omitempty" json:"results,omitempty"` Search_results_end Search_results_end `xml:" results-end,omitempty" json:"results-end,omitempty"` Search_results_start Search_results_start `xml:" results-start,omitempty" json:"results-start,omitempty"` Search_source Search_source `xml:" source,omitempty" json:"source,omitempty"` Search_total_results Search_total_results `xml:" total-results,omitempty" json:"total-results,omitempty"` }
type Search_small_image_url ¶
type Search_small_image_url struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_source ¶
type Search_source struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_title ¶
type Search_title struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_total_results ¶
type Search_total_results struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Search_work ¶
type Search_work struct { Search_average_rating Search_average_rating `xml:" average_rating,omitempty" json:"average_rating,omitempty"` Search_best_book Search_best_book `xml:" best_book,omitempty" json:"best_book,omitempty"` Search_books_count Search_books_count `xml:" books_count,omitempty" json:"books_count,omitempty"` Search_id Search_id `xml:" id,omitempty" json:"id,omitempty"` Search_original_publication_day Search_original_publication_day `xml:" original_publication_day,omitempty" json:"original_publication_day,omitempty"` Search_original_publication_month Search_original_publication_month `xml:" original_publication_month,omitempty" json:"original_publication_month,omitempty"` Search_original_publication_year Search_original_publication_year `xml:" original_publication_year,omitempty" json:"original_publication_year,omitempty"` Search_ratings_count Search_ratings_count `xml:" ratings_count,omitempty" json:"ratings_count,omitempty"` Search_text_reviews_count Search_text_reviews_count `xml:" text_reviews_count,omitempty" json:"text_reviews_count,omitempty"` }
type Shelf_GoodreadsResponse ¶
type Shelf_GoodreadsResponse struct { Shelf_Request Shelf_Request `xml:" Request,omitempty" json:"Request,omitempty"` Shelf_shelves Shelf_shelves `xml:" shelves,omitempty" json:"shelves,omitempty"` }
type Shelf_Request ¶
type Shelf_Request struct { Shelf_authentication Shelf_authentication `xml:" authentication,omitempty" json:"authentication,omitempty"` Shelf_key Shelf_key `xml:" key,omitempty" json:"key,omitempty"` Shelf_method Shelf_method `xml:" method,omitempty" json:"method,omitempty"` }
type Shelf_authentication ¶
type Shelf_authentication struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Shelf_book_count ¶
type Shelf_description ¶
type Shelf_description struct {
Attr_nil string `xml:" nil,attr" json:",omitempty"`
}
type Shelf_display_fields ¶
type Shelf_display_fields struct { }
type Shelf_exclusive_flag ¶
type Shelf_featured ¶
type Shelf_method ¶
type Shelf_method struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Shelf_name ¶
type Shelf_name struct {
Text string `xml:",chardata" json:",omitempty"`
}
type Shelf_order ¶
type Shelf_per_page ¶
type Shelf_recommend_for ¶
type Shelf_root ¶
type Shelf_root struct {
Shelf_GoodreadsResponse Shelf_GoodreadsResponse `xml:" GoodreadsResponse,omitempty" json:"GoodreadsResponse,omitempty"`
}
type Shelf_shelves ¶
type Shelf_shelves struct { Attr_end string `xml:" end,attr" json:",omitempty"` Attr_start string `xml:" start,attr" json:",omitempty"` Attr_total string `xml:" total,attr" json:",omitempty"` Shelf_user_shelf []Shelf_user_shelf `xml:" user_shelf,omitempty" json:"user_shelf,omitempty"` }
type Shelf_sort ¶
type Shelf_sort struct {
Attr_nil string `xml:" nil,attr" json:",omitempty"`
}
type Shelf_sticky ¶
type Shelf_user_shelf ¶
type Shelf_user_shelf struct { Shelf_book_count Shelf_book_count `xml:" book_count,omitempty" json:"book_count,omitempty"` Shelf_description Shelf_description `xml:" description,omitempty" json:"description,omitempty"` Shelf_display_fields Shelf_display_fields `xml:" display_fields,omitempty" json:"display_fields,omitempty"` Shelf_exclusive_flag Shelf_exclusive_flag `xml:" exclusive_flag,omitempty" json:"exclusive_flag,omitempty"` Shelf_featured Shelf_featured `xml:" featured,omitempty" json:"featured,omitempty"` Shelf_id Shelf_id `xml:" id,omitempty" json:"id,omitempty"` Shelf_name Shelf_name `xml:" name,omitempty" json:"name,omitempty"` Shelf_order Shelf_order `xml:" order,omitempty" json:"order,omitempty"` Shelf_per_page Shelf_per_page `xml:" per_page,omitempty" json:"per_page,omitempty"` Shelf_recommend_for Shelf_recommend_for `xml:" recommend_for,omitempty" json:"recommend_for,omitempty"` Shelf_sort Shelf_sort `xml:" sort,omitempty" json:"sort,omitempty"` Shelf_sticky Shelf_sticky `xml:" sticky,omitempty" json:"sticky,omitempty"` }
type User_GoodreadsResponse ¶
type User_GoodreadsResponse struct { User_Request User_Request `xml:" Request,omitempty" json:"Request,omitempty"` User_user User_user `xml:" user,omitempty" json:"user,omitempty"` }
type User_Request ¶
type User_Request struct { User_authentication User_authentication `xml:" authentication,omitempty" json:"authentication,omitempty"` User_key User_key `xml:" key,omitempty" json:"key,omitempty"` User_method User_method `xml:" method,omitempty" json:"method,omitempty"` }
type User_authentication ¶
type User_authentication struct {
Text string `xml:",chardata" json:",omitempty"`
}
type User_method ¶
type User_method struct {
Text string `xml:",chardata" json:",omitempty"`
}
type User_root ¶
type User_root struct {
User_GoodreadsResponse User_GoodreadsResponse `xml:" GoodreadsResponse,omitempty" json:"GoodreadsResponse,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.