TwitchApi.Games.GetGames (TwitchApi v0.1.2) View Source
⛔ This module is autogenerated please do not modify manually.
Example request from twitch api docs:
descriptions:
This gets information for game ID 493057.
requests:
curl -X GET 'https://api.twitch.tv/helix/games?id=493057'
-H'Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y'
-H'Client-Id: uo6dggojyb8d6soh92zknwmi5ej1q2'
Example response from twitch api docs:
descriptions:
responses:
{"data":[{"box_art_url":"https://static-cdn.jtvnw.net/ttv-boxart/Fortnite-52x72.jpg","id":"33214","name":"Fortnite"}...],"pagination":{"cursor":"eyJiIjpudWxsLCJhIjp7IkN"}}
Link to this section Summary
Types
Game ID. At most 100 id values can be specified.
Game name. The name must be an exact match. For example, “Pokemon” will not return a list of Pokemon games; instead, query any specific Pokemon games in which you are interested. At most 100 name values can be specified.
Link to this section Types
Specs
id() :: %{id: String.t()}
Game ID. At most 100 id values can be specified.
Specs
name() :: %{name: String.t()}
Game name. The name must be an exact match. For example, “Pokemon” will not return a list of Pokemon games; instead, query any specific Pokemon games in which you are interested. At most 100 name values can be specified.
Link to this section Functions
Specs
call(id() | name()) :: {:ok, Finch.Response.t()} | {:error, Exception.t()}
Description:
Gets game information by game ID or name.
Required authentication:
OAuth or App Access Token required.