TwitchApi.Games.GetGames (TwitchApi v0.1.0) 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

Functions

Description:

Gets game information by game ID or name.

Link to this section Types

Specs

id() :: %{id: String.t()}

Specs

name() :: %{name: String.t()}

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.

Required authorization: