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"`
|
CategoryName string `json:"categoryName"`
|
||||||
MasterGroup int `json:"masterGroup"`
|
MasterGroup int `json:"masterGroup"`
|
||||||
Time string `json:"time"`
|
Time string `json:"time"`
|
||||||
GameInfo struct {
|
Tags []string `json:"tags"`
|
||||||
Screenshots []string `json:"screenshots"`
|
Platform string `json:"platform"`
|
||||||
Trailer string `json:"trailer"`
|
}
|
||||||
Rating string `json:"rating"`
|
|
||||||
MetaRating struct {
|
type GameInfo struct {
|
||||||
Score string `json:"score"`
|
Screenshots []string `json:"screenshots"`
|
||||||
Percent string `json:"percent"`
|
Trailer string `json:"trailer"`
|
||||||
Link string `json:"link"`
|
Rating string `json:"rating"`
|
||||||
} `json:"metaRating"`
|
MetaRating struct {
|
||||||
IgnRating struct {
|
Score string `json:"score"`
|
||||||
Score string `json:"score"`
|
Percent string `json:"percent"`
|
||||||
Percent string `json:"percent"`
|
Link string `json:"link"`
|
||||||
Link string `json:"link"`
|
} `json:"metaRating"`
|
||||||
} `json:"ignRating"`
|
IgnRating struct {
|
||||||
GamespotRating struct {
|
Score string `json:"score"`
|
||||||
Score string `json:"score"`
|
Percent string `json:"percent"`
|
||||||
Percent string `json:"percent"`
|
Link string `json:"link"`
|
||||||
Link string `json:"link"`
|
} `json:"ignRating"`
|
||||||
} `json:"gamespotRating"`
|
GamespotRating struct {
|
||||||
Weblinks struct {
|
Score string `json:"score"`
|
||||||
GamesWebsite string `json:"GamesWebsite"`
|
Percent string `json:"percent"`
|
||||||
Wikipedia string `json:"Wikipedia"`
|
Link string `json:"link"`
|
||||||
Giantbomb string `json:"Giantbomb"`
|
} `json:"gamespotRating"`
|
||||||
GameFAQs string `json:"GameFAQs"`
|
Weblinks struct {
|
||||||
PCGamingWiki string `json:"PCGamingWiki"`
|
GamesWebsite string `json:"GamesWebsite"`
|
||||||
Steam string `json:"Steam"`
|
Wikipedia string `json:"Wikipedia"`
|
||||||
Amazon string `json:"Amazon"`
|
Giantbomb string `json:"Giantbomb"`
|
||||||
GOG string `json:"GOG"`
|
GameFAQs string `json:"GameFAQs"`
|
||||||
HowLongToBeat string `json:"HowLongToBeat"`
|
PCGamingWiki string `json:"PCGamingWiki"`
|
||||||
} `json:"weblinks"`
|
Steam string `json:"Steam"`
|
||||||
} `json:"gameInfo"`
|
Amazon string `json:"Amazon"`
|
||||||
Tags []string `json:"tags"`
|
GOG string `json:"GOG"`
|
||||||
Platform string `json:"platform"`
|
HowLongToBeat string `json:"HowLongToBeat"`
|
||||||
|
} `json:"weblinks"`
|
||||||
|
//`json:"gameInfo"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Torrent struct {
|
type Torrent struct {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue