Documentation
¶
Index ¶
- func GetElementByClassName(n *html.Node, classname string) *html.Node
- func GetElementByID(n *html.Node, id string) *html.Node
- func GetElementsByClassName(n *html.Node, classname string) []*html.Node
- func GetElementsByTagName(n *html.Node, tag string) []*html.Node
- func SanitizeISBN(code string) (string, bool)
- type AladinAPI
- type SearchAPI
- type SearchResult
- type Yes24API
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetElementsByClassName ¶
func SanitizeISBN ¶
Types ¶
type AladinAPI ¶
type AladinAPI struct {
// contains filtered or unexported fields
}
func (*AladinAPI) SearchISBN ¶
func (api *AladinAPI) SearchISBN(isbn string) (SearchResult, error)
type SearchAPI ¶
type SearchAPI interface {
SearchISBN(isbn string) (SearchResult, error)
}
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.