OBJECT
Game
A Game is often the subject of a Stream on Twitch.
link GraphQL Schema definition
1 type Game implements Directory { 2 3 # What campaigns are active for this game. 4 DropCampaign!] @deprecated( reason: "Functionality not supported in Drops 2.0" ) : [ 5 6 # URL to an avatar image. 7 # The image dimensions are specifiable via the `height` and `width` parameters. 8 # 9 # If `height` or `width` are not specified, the URL will contain 10 # the template strings `{height}` and/or `{width}` in their respective places. 11 Int, : Int): String ( : 12 13 # URL to a box art image. 14 # The image dimensions are specifiable via the `height` and `width` parameters. 15 # 16 # If `height` or `width` are not specified, the URL will contain 17 # the template strings `{height}` and/or `{width}` in their respective places. 18 Int, : Int): String ( : 19 20 # Number of broadcasters streaming this game. 21 Int : 22 23 # Number of channels currently streaming this game. 24 Int @deprecated( reason: "Use broadcastersCount instead." ) : 25 26 # A paginated list of clips featuring this game, ordered by view count descending. 27 # When criteria is not specified, the default values are used. 28 Int, : Cursor, : GameClipsInput): ClipConnection ( : 29 30 # URL to a cover image. 31 # The image dimensions are specifiable via the `height` and `width` parameters. 32 # 33 # If `height` or `width` are not specified, the URL will contain 34 # the template strings `{height}` and/or `{width}` in their respective places. 35 Int, : Int): String ( : 36 37 # The game's description. 38 String : 39 40 # The game's developers. 41 String!] : [ 42 43 # The type of directory – in this case, always GAME. 44 DirectoryType : 45 46 # The translated game name used for display purposes. 47 # Use name for tracking props or URLs. 48 String! : 49 50 # The associated clientID for a game used to determine if users have an account 51 # link 52 # created between tuid and in-game userID as well as the timestamp of when this 53 # link was created. 54 DropAccountLink : 55 56 # A list of clients that use the Enhanced Experiences (E2) API for 57 # Twitch integrations with this game. 58 ID!): [EnhancedExperiencesClient!] ( : 59 60 # The game's ESRB rating. 61 ESRBRating! : 62 63 # The game's ESRB descriptions. 64 String!] : [ 65 66 # A list of extension recommendations, according to the game. 67 ExtensionRecommendation!] : [ 68 69 # Number of users that follow this game. 70 Int : 71 72 # The franchises the game belongs to. 73 String!] : [ 74 75 # The game's unique GiantBomb identifier. 76 ID @deprecated( reason: "No longer supported" ) : 77 78 # The game's unique Twitch identifier. 79 # It is used to associate games with product offers. 80 ID! : 81 82 # URL to a game logo image. 83 # The image dimensions are specifiable via the `height` and `width` parameters. 84 # 85 # If `height` or `width` are not specified, the URL will contain 86 # the template strings `{height}` and/or `{width}` in their respective places. 87 Int, : Int): String ( : 88 89 # The name of the game. This string is untranslated. 90 # This field should only be used in limited occassions, like tracking and URLs. 91 # You should use displayName for all all game names shown to the users. 92 String! : 93 94 # The original release date of the game. Date string is formatted as 95 # yyyy-mm-ddThh:mm:ssZ. 96 String : 97 98 # The platforms the game is on. 99 String!] : [ 100 101 # A measure of the games popularity. 102 Int : 103 104 # The game's unique Presto identifier. 105 ID : 106 107 # The game's publishers. 108 String!] : [ 109 110 # The authenticated user's relationship with this Game. 111 GameSelfConnection : 112 113 # Get a page of live streams broadcasting this game. 114 # The languages param can be used to filter the streams. Otherwise all languages 115 # will be returned. 116 # The filters param contains additional metadata filters, for example 117 # {hearthstoneGameMode: "arena"}. 118 # The sort param can be used to change the default sorting, which sometimes is 119 # specific to specific games. 120 # The tags param are an array of tag ID as optional filters for streams. 121 # DEPRECATED field arguments: languages, requestID, sort, tags 122 # Use GameStreamOptions instead. 123 ( 124 Int, : 125 Cursor, : 126 GameStreamOptions, : 127 String!], : [ 128 StreamMetadataFilterInput, : 129 StreamSort, : 130 ID, : 131 String!] : [ 132 ): StreamConnection 133 134 # List of recommeded tags in the corresponding category. 135 Int, : TagType!): [Tag!] ( : 136 137 # A paginated list of top videos for this game. 138 ( 139 Int, : 140 Cursor, : 141 String!], : [ 142 BroadcastType!], : [ 143 VideoSort : 144 ): VideoConnection 145 146 # Number of viewers currently watching a stream which features this game. 147 Int : 148 149 }
link Required by
- BountyCampaignA campaign defines the requirements and parameters for a set of bounties.
- BountyCampaignBrandDetailsDetails about a bounty campaign that only the sponsoring brand should see.
- BroadcastA historical representation of a live stream.
- BroadcastSettingsSettings for a User's broadcast that persist between streams.
- ChannelHomeCategoryShelfEdgeThe edges of the channel home category shelf.
- ChannelHomeCategorySuggestionsShelfEdgeContains a category and a boolean to denote whether the user has chosen to hide that category from their channel home page's category shelf.
- ClipA recorded, replayable part of a live broadcast.
- CompanyA company that is on Twitch.
- CompetitionA Competition created by a competition organizer.
- DropContains all of the information about a Drop awarded to a user.
- DropBenefitContains all of the information about a Drop awarded to a user.
- DropCampaignA campaign a developer is running to give drops away to viewers of their game To be considered live, a campaign must be enabled with the current time being after the start but before the end times To apply to a particular channel a campaign must be live and additionally the channel must be playing an applicable game and either must be one of the applicable channels or the campaign must have an empty applicable channel list (where an empty list specifically means all channels are eligible).
- DropCurrentSessionThe drop that is closest to completing for the current user that is actively earning progress.
- DropObjectContains all of the information about a Drop awardable to a user. // deprecated in favor of EventBasedDrop and TimeBasedDrop.
- ExtensionTwitch Extension.
- ExtensionDiscoveryManifestExtension metadata used for discovery.
- ExtensionInstallationDynamicManagementThe dynamic management setting for a content-matched game on an extension installation.
- FollowedGameConnectionA list of followed games.
- FollowGamePayload
- GameApplicationGameApplication is an application to associate a game with an organization.
- GameChangeMomentDetailsMoment Details specific to a game change.
- GameEdgeContains information about a Game's relationship to a given page (connection), and the Game itself.
- GameFollowGame followed by a User.
- GameOverlapGame that my viewers also like to watch.
- OnsiteNotificationContentExtra onsite notification content.
- OrganizationA developer organization.
- Playing
- PrimeOfferContentAn Object containing metadata for Digital Content.
- QueryRoot fields to access the Twitch API.
- RecommendationFeedbackContentFeedback target.
- RecommendedGamesEdgeThe content to render from a recommended game.
- ScheduleSegmentThe segment of a schedule.
- SearchCategoriesEdgeAn element in the categories result, and its metadata.
- SearchForItemA result item may be a User, Game, or Video.
- SearchForResultGamesContains game search results.
- SearchSuggestionCategoryA category search suggestion.
- SetGameDropAccountLinkClientPayloadSetGameDropAccountLinkClientPayload returns the result of the update.
- ShelfContentThe content to render in a shelf.
- ShelfTitleContextMetadata used to render the shelf title.
- StreamA live stream.
- TaggedContentThe content that are possibly return for tagging mutation payload.
- TitleTokenNodeThe content of a shelf title token.
- UnfollowGamePayloadUnfollowGamePayload is the response from unfollowing a game.
- UserDropRewardA list of Drops awarded to the user via Drops2.0.
- VerticalContentContextIDs used to determine the context(s) by which content was determined for a given VerticalSubDirectory.
- Video
- VideoShelfA video shelf contains items (clips, videos) from a user to display on their videos page.