Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CargoQueryUrl ¶
func ParseExternalLinksUrl ¶
func WikiGOGUrl ¶
Types ¶
type Cargo ¶
type Cargo struct { Cargoquery []struct { Title struct { PageID string `json:"PageID"` } `json:"title"` } `json:"cargoquery"` }
type HowLongToBeatIdGetter ¶
type HowLongToBeatIdGetter interface {
GetHowLongToBeatId() string
}
type IGDBIdGetter ¶
type IGDBIdGetter interface {
GetIGDBId() string
}
type PageIdGetter ¶
type PageIdGetter interface {
GetPageId() string
}
type ParseExternalLinks ¶
type ParseExternalLinks struct { Parse struct { Title string `json:"title"` PageId uint64 `json:"pageid"` ExternalLinks []string `json:"externallinks"` } `json:"parse"` }
func (*ParseExternalLinks) GetHowLongToBeatId ¶
func (pel *ParseExternalLinks) GetHowLongToBeatId() string
func (*ParseExternalLinks) GetIGDBId ¶
func (pel *ParseExternalLinks) GetIGDBId() string
func (*ParseExternalLinks) GetSteamAppId ¶
func (pel *ParseExternalLinks) GetSteamAppId() uint32
GetSteamAppId extracts Steam AppId from PCGamingWiki parse externallinks results The same data can be obtained with an original cargo query (see cargoquery_url.go), however it seems like cargoquery will return all editions AppIds, while externallinks seems more focused on a specific product edition (corresponding to that pageId)
type SteamAppIdGetter ¶
type SteamAppIdGetter interface {
GetSteamAppId() uint32
}
Click to show internal directories.
Click to hide internal directories.