mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(indexers): ggn fetch data from api (#397)
fix(indexers): fetch data from api
This commit is contained in:
parent
5d80e48b54
commit
12e75e2604
1 changed files with 35 additions and 33 deletions
|
@ -58,39 +58,41 @@ type Group struct {
|
|||
CategoryName string `json:"categoryName"`
|
||||
MasterGroup int `json:"masterGroup"`
|
||||
Time string `json:"time"`
|
||||
GameInfo struct {
|
||||
Screenshots []string `json:"screenshots"`
|
||||
Trailer string `json:"trailer"`
|
||||
Rating string `json:"rating"`
|
||||
MetaRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"metaRating"`
|
||||
IgnRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"ignRating"`
|
||||
GamespotRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"gamespotRating"`
|
||||
Weblinks struct {
|
||||
GamesWebsite string `json:"GamesWebsite"`
|
||||
Wikipedia string `json:"Wikipedia"`
|
||||
Giantbomb string `json:"Giantbomb"`
|
||||
GameFAQs string `json:"GameFAQs"`
|
||||
PCGamingWiki string `json:"PCGamingWiki"`
|
||||
Steam string `json:"Steam"`
|
||||
Amazon string `json:"Amazon"`
|
||||
GOG string `json:"GOG"`
|
||||
HowLongToBeat string `json:"HowLongToBeat"`
|
||||
} `json:"weblinks"`
|
||||
} `json:"gameInfo"`
|
||||
Tags []string `json:"tags"`
|
||||
Platform string `json:"platform"`
|
||||
Tags []string `json:"tags"`
|
||||
Platform string `json:"platform"`
|
||||
}
|
||||
|
||||
type GameInfo struct {
|
||||
Screenshots []string `json:"screenshots"`
|
||||
Trailer string `json:"trailer"`
|
||||
Rating string `json:"rating"`
|
||||
MetaRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"metaRating"`
|
||||
IgnRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"ignRating"`
|
||||
GamespotRating struct {
|
||||
Score string `json:"score"`
|
||||
Percent string `json:"percent"`
|
||||
Link string `json:"link"`
|
||||
} `json:"gamespotRating"`
|
||||
Weblinks struct {
|
||||
GamesWebsite string `json:"GamesWebsite"`
|
||||
Wikipedia string `json:"Wikipedia"`
|
||||
Giantbomb string `json:"Giantbomb"`
|
||||
GameFAQs string `json:"GameFAQs"`
|
||||
PCGamingWiki string `json:"PCGamingWiki"`
|
||||
Steam string `json:"Steam"`
|
||||
Amazon string `json:"Amazon"`
|
||||
GOG string `json:"GOG"`
|
||||
HowLongToBeat string `json:"HowLongToBeat"`
|
||||
} `json:"weblinks"`
|
||||
//`json:"gameInfo"`
|
||||
}
|
||||
|
||||
type Torrent struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue