Documentation ¶
Index ¶
- func EngineCargoQueryUrl(pageId string) *url.URL
- func PageIdCargoQueryUrl(gogId string) *url.URL
- func ParseExternalLinksUrl(pageId string) *url.URL
- func WikiGOGUrl(gogId string) *url.URL
- func WikiUrl(pageId string) *url.URL
- type Engine
- type EnginesBuildsGetter
- type EnginesGetter
- type HLTBIdGetter
- type IGDBIdGetter
- type IWLinks
- type MobyGamesIdGetter
- type PageId
- type PageIdGetter
- type ParseExternalLinks
- func (pel *ParseExternalLinks) GetHLTBId() string
- func (pel *ParseExternalLinks) GetIGDBId() string
- func (pel *ParseExternalLinks) GetMobyGamesId() string
- func (pel *ParseExternalLinks) GetSteamAppId() uint32
- func (pel *ParseExternalLinks) GetStrategyWikiId() string
- func (pel *ParseExternalLinks) GetVNDBId() string
- func (pel *ParseExternalLinks) GetWikipediaId() string
- func (pel *ParseExternalLinks) GetWineHQId() string
- type StrategyWikiIdGetter
- type VNDBIdGetter
- type WikipediaIdGetter
- type WineHQIdGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EngineCargoQueryUrl ¶ added in v0.1.23
func PageIdCargoQueryUrl ¶ added in v0.1.27
func ParseExternalLinksUrl ¶
func WikiGOGUrl ¶
Types ¶
type Engine ¶ added in v0.1.25
type Engine struct { Cargoquery []struct { Title struct { Engine string `json:"Engine"` Build string `json:"Build"` } `json:"title"` } `json:"cargoquery"` }
func (*Engine) GetEngines ¶ added in v0.1.25
func (*Engine) GetEnginesBuilds ¶ added in v0.1.25
type EnginesBuildsGetter ¶ added in v0.1.25
type EnginesBuildsGetter interface {
GetEnginesBuilds() []string
}
type EnginesGetter ¶ added in v0.1.25
type EnginesGetter interface {
GetEngines() []string
}
type HLTBIdGetter ¶ added in v0.1.17
type HLTBIdGetter interface {
GetHLTBId() string
}
type IGDBIdGetter ¶
type IGDBIdGetter interface {
GetIGDBId() string
}
type MobyGamesIdGetter ¶ added in v0.1.3
type MobyGamesIdGetter interface {
GetMobyGamesId() string
}
type PageId ¶ added in v0.1.26
type PageId struct { Cargoquery []struct { Title struct { PageID string `json:"PageID"` } `json:"title"` } `json:"cargoquery"` }
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"` IWLinks []struct { Prefix string `json:"prefix"` Url string `json:"url"` Id string `json:"*"` } `json:"iwlinks"` } `json:"parse"` }
func (*ParseExternalLinks) GetHLTBId ¶ added in v0.1.17
func (pel *ParseExternalLinks) GetHLTBId() string
func (*ParseExternalLinks) GetIGDBId ¶
func (pel *ParseExternalLinks) GetIGDBId() string
func (*ParseExternalLinks) GetMobyGamesId ¶ added in v0.1.3
func (pel *ParseExternalLinks) GetMobyGamesId() 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)
func (*ParseExternalLinks) GetStrategyWikiId ¶ added in v0.1.3
func (pel *ParseExternalLinks) GetStrategyWikiId() string
func (*ParseExternalLinks) GetVNDBId ¶ added in v0.1.5
func (pel *ParseExternalLinks) GetVNDBId() string
func (*ParseExternalLinks) GetWikipediaId ¶ added in v0.1.3
func (pel *ParseExternalLinks) GetWikipediaId() string
func (*ParseExternalLinks) GetWineHQId ¶ added in v0.1.3
func (pel *ParseExternalLinks) GetWineHQId() string
type StrategyWikiIdGetter ¶ added in v0.1.3
type StrategyWikiIdGetter interface {
GetStrategyWikiId() string
}
type VNDBIdGetter ¶ added in v0.1.5
type VNDBIdGetter interface {
GetVNDBId() string
}
type WikipediaIdGetter ¶ added in v0.1.3
type WikipediaIdGetter interface {
GetWikipediaId() string
}
type WineHQIdGetter ¶ added in v0.1.3
type WineHQIdGetter interface {
GetWineHQId() string
}
Click to show internal directories.
Click to hide internal directories.