Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
URL string `json:"url,omitempty"`
Size uint `json:"size,omitempty"`
Duration string `json:"duration,omitempty"`
Title string `json:"title,omitempty"`
}
Address contains the parameters of the file by which you can download it.
type Addresses ¶
type Addresses []Address
Addresses just a set of addresses with the ability to parse not a set, but one address as such cases are in the API.
func (*Addresses) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
type Author ¶
type Author struct {
Name string `json:"name,omitempty"`
Photo string `json:"photo,omitempty"`
Info string `json:"info,omitempty"`
}
Author contains information about the author of the book.
type Book ¶
type Book struct {
ID int `json:"id"`
Title string `json:"title"`
Subtitle string `json:"subtitle"`
BookPartLink string `json:"bookPartLink"`
Badges []string `json:"badges,omitempty"`
SimilarBooks []string `json:"similarBooks,omitempty"`
Cover Cover `json:"cover"`
NewCover string `json:"newCover"`
Files Files `json:"files"`
TopSmile interface{} `json:"topSmile,omitempty"`
MifURL string `json:"mifUrl"`
Description string `json:"description"`
Stickers []TTS `json:"stickers,omitempty"`
Quotes []TTS `json:"quotes,omitempty"`
Experts []interface{} `json:"experts,omitempty"`
Photos []Address `json:"photos,omitempty"`
Videos []Address `json:"videos,omitempty"`
Spreads []interface{} `json:"spreads,omitempty"`
Authors []Author `json:"authors,omitempty"`
DiscountURL string `json:"discountUrl"`
Downloads int `json:"downloads"`
}
Book the dataset about the book.
Click to show internal directories.
Click to hide internal directories.