Versions in this module Expand all Collapse all v1 v1.0.1 Nov 9, 2020 v1.0.0 Oct 28, 2020 Changes in this version type Config + ApiKey string v0 v0.0.2 Oct 16, 2020 v0.0.1 Oct 16, 2020 Changes in this version + type Achievement struct + Description string + ID int + Image string + Name string + Percent float32 + type AddedByStatus struct + Beaten int + Dropped int + Owned int + Playing int + Toplay int + Yet int + type Client struct + func NewClient(client *http.Client, config *Config) *Client + func (api *Client) GetCreator(id int) (*CreatorDetailed, error) + func (api *Client) GetCreatorRoles(page int, pageSize int) ([]*Role, int, error) + func (api *Client) GetCreators(page int, pageSize int) ([]*Creator, int, error) + func (api *Client) GetDeveloper(id int) (*DeveloperDetailed, error) + func (api *Client) GetDevelopers(page int, pageSize int) ([]*Developer, int, error) + func (api *Client) GetGame(id int) (*GameDetailed, error) + func (api *Client) GetGameAchievements(id int) ([]*Achievement, error) + func (api *Client) GetGameAdditions(gameID int, page int, pageSize int) ([]*Game, int, error) + func (api *Client) GetGameDevelopmentTeam(gameID int, page int, pageSize int, ordering string) ([]*GameDeveloper, int, error) + func (api *Client) GetGameMovies(id int) ([]*Movie, error) + func (api *Client) GetGameReddit(id int) ([]*Reddit, error) + func (api *Client) GetGameScreenshots(gameID int, page int, pageSize int) ([]*Screenshot, int, error) + func (api *Client) GetGameSeries(gameID int, page int, pageSize int) ([]*Game, int, error) + func (api *Client) GetGameStores(gameID int, page int, pageSize int) ([]*GameStore, int, error) + func (api *Client) GetGameSuggested(id int) ([]*Game, error) + func (api *Client) GetGameTwitch(id int) ([]*Twitch, error) + func (api *Client) GetGameYoutube(id int) ([]*Youtube, error) + func (api *Client) GetGames(filter *GamesFilter) ([]*Game, int, error) + func (api *Client) GetGenre(id int) (*GenreDetailed, error) + func (api *Client) GetGenres(page int, pageSize int, ordering string) ([]*Genre, int, error) + func (api *Client) GetParentGames(gameID int, page int, pageSize int) ([]*Game, int, error) + func (api *Client) GetParentsPlatforms(page int, pageSize int, ordering string) ([]*Platform, int, error) + func (api *Client) GetPlatform(id int) (*PlatformDetailed, error) + func (api *Client) GetPlatforms(page int, pageSize int, ordering string) ([]*Platform, int, error) + func (api *Client) GetPublisher(id int) (*PublisherDetailed, error) + func (api *Client) GetPublishers(page int, pageSize int) ([]*Publisher, int, error) + func (api *Client) GetStore(id int) (*StoreDetailed, error) + func (api *Client) GetStores(page int, pageSize int, ordering string) ([]*Store, int, error) + func (api *Client) GetTag(id int) (*TagDetailed, error) + func (api *Client) GetTags(page int, pageSize int) ([]*Tag, int, error) + type Clip struct + Clip string + Clips map[string]string + Preview string + Video string + type Config struct + AppName string + Language string + Rps int + type Creator struct + GamesCount int + ID int + Image string + ImageBackground string + Name string + Slug string + type CreatorDetailed struct + Description string + Rating string + RatingTop int + ReviewsCount int + Updated DateTime + type DateRange struct + From time.Time + To time.Time + type DateTime struct + func (d *DateTime) UnmarshalJSON(b []byte) error + type Developer struct + GamesCount int + ID int + ImageBackground string + Name string + Slug string + type DeveloperDetailed struct + Description string + type EsrbRating struct + ID int + Name string + Slug string + type Game struct + Added int + AddedByStatus *AddedByStatus + Clip *Clip + DominantColor string + Genres []*Genre + ID int + ImageBackground string + Metacritic int + Name string + ParentPlatforms []... + Platforms []... + Playtime int + Rating float32 + RatingTop int + Ratings []*Rating + RatingsCount int + Released DateTime + ReviewsCount int + ReviewsTextCount int + SaturatedColor string + ShortScreenshots []... + Slug string + Stores []... + SuggestionsCount int + Tags []*Tag + Tba bool + type GameDetailed struct + AchievementsCount int + Added int + AddedByStatus *AddedByStatus + AdditionsCount int + AlternativeNames []string + Clip *Clip + CreatorsCount int + Description string + DescriptionRaw string + Developers []*Developer + DominantColor string + EsrbRating *EsrbRating + GameSeriesCountCount int + Genres []*Genre + ID int + ImageBackground string + ImageBackgroundAdditional string + Metacritic int + MetacriticPlatforms []*MetacriticPlatform + MetacriticUrl string + MoviesCount int + Name string + NameOriginal string + ParentAchievementsCount int + ParentPlatforms []... + ParentsCount int + Platforms []... + Playtime int + Publishers []*Publisher + Rating float32 + RatingTop int + Ratings []*Rating + RatingsCount int + Reactions map[string]int + RedditCount int + RedditDescription string + RedditLogo string + RedditName string + RedditUrl string + Released DateTime + ReviewsCount int + ReviewsTextCount int + SaturatedColor string + ScreenshotsCount int + Slug string + Stores []... + SuggestionsCount int + Tags []*Tag + Tba bool + TwitchCount int + Updated DateTime + Website string + YoutubeCount int + type GameDeveloper struct + Games []*Game + GamesCount int + ID int + Image string + ImageBackground string + Name string + Positions []*Position + Slug string + type GameStore struct + GameID int + ID int + StoreID int + Url string + type GamesFilter struct + func NewGamesFilter() *GamesFilter + func (filter *GamesFilter) ExcludeCollection(collection int) *GamesFilter + func (filter *GamesFilter) GetParams() map[string]interface{} + func (filter *GamesFilter) SetCreators(creators ...interface{}) *GamesFilter + func (filter *GamesFilter) SetDates(ranges ...*DateRange) *GamesFilter + func (filter *GamesFilter) SetDevelopers(developers ...interface{}) *GamesFilter + func (filter *GamesFilter) SetGenres(genres ...interface{}) *GamesFilter + func (filter *GamesFilter) SetOrdering(ordering string) *GamesFilter + func (filter *GamesFilter) SetPage(page int) *GamesFilter + func (filter *GamesFilter) SetPageSize(pageSize int) *GamesFilter + func (filter *GamesFilter) SetParentPlatforms(parentPlatforms ...int) *GamesFilter + func (filter *GamesFilter) SetPlatforms(platforms ...int) *GamesFilter + func (filter *GamesFilter) SetPlatformsCount(count int) *GamesFilter + func (filter *GamesFilter) SetPublishers(publishers ...interface{}) *GamesFilter + func (filter *GamesFilter) SetSearch(search string) *GamesFilter + func (filter *GamesFilter) SetStores(stores ...int) *GamesFilter + func (filter *GamesFilter) SetTags(tags ...interface{}) *GamesFilter + func (filter *GamesFilter) WithoutAdditions() *GamesFilter + func (filter *GamesFilter) WithoutGameSeries() *GamesFilter + func (filter *GamesFilter) WithoutParents() *GamesFilter + type Genre struct + GamesCount int + ID int + ImageBackground string + Name string + Slug string + type GenreDetailed struct + Description string + type MetacriticPlatform struct + Metascore int + Platform ... + Url string + type Movie struct + Data map[string]string + ID int + Name string + Preview string + type ParentPlatform struct + Platform struct{ ... } + type Platform struct + GamesCount int + ID int + Image string + ImageBackground string + Name string + Slug string + YearEnd int + YearStart int + type PlatformDetailed struct + Description string + type Position struct + ID int + Name string + Slug string + type Publisher struct + GamesCount int + ID int + ImageBackground string + Name string + Slug string + type PublisherDetailed struct + Description string + type Rating struct + Count int + ID int + Percent float32 + Title string + type RawgError struct + Body string + HttpCode int + Message string + Url string + func (e *RawgError) Error() string + type Reddit struct + Created DateTime + ID int + Image string + Name string + Text string + Url string + Username string + UsernameUrl string + type Requirement struct + Minimum string + Recommended string + type Role struct + ID int + Name string + Slug string + type Screenshot struct + Height int + ID int + Image string + IsDeleted bool + Width int + type Store struct + Domain string + GamesCount int + ID int + ImageBackground string + Name string + Slug string + type StoreDetailed struct + Description string + type Tag struct + GamesCount int + ID int + ImageBackground string + Language string + Name string + Slug string + type TagDetailed struct + Description string + type Twitch struct + Created DateTime + Description string + ExternalID int + ID int + Language string + Name string + Published DateTime + Thumbnail string + ViewCount int + type Youtube struct + ChannelID string + CommentsCount int + Created DateTime + Description string + DislikeCount int + ExternalID string + FavoriteCount int + ID int + LikeCount int + Name string + Thumbnails ... + ViewCount int + type YoutubeThumbnail struct + Height int + Url string + Width int Other modules containing this package github.com/dimuska139/rawg-sdk-go/v3