Twitch
Seamlessly integrate Twitch with your favorite APIs, databases, and programming languages, using WayScript.
Work with Twitch data.

โ€‹
๐ŸŽฎ
Get a List of the Current Top Games

โ€‹
๐Ÿ“ฅ
Inputs

  • Number of Games
    • Default is 20.
    • Maximum is 100.

โ€‹
๐Ÿ“ค
Outputs

1
Top_Games = [
2
{
3
name : String,
4
id : String
5
},
6
]
Copied!
  • JSON Data
A Games ID can be found in the Games by ID list at the same index that it's in this list.

โ€‹
๐Ÿ“บ
Get a List of the Current Top Streams

โ€‹
๐Ÿ“ฅ
Inputs

  • Number of Streams
    • Default is 20.
    • Maximum is 100.
  • Filter by Game ids
    • Optional
    • Maximum 100
  • Filter by User Names
    • Optional
    • Maximum 100
  • Filter by Languages
    • Optional
    • Maximum 100

โ€‹
๐Ÿ“ค
Outputs

1
Top_Streams = [
2
{
3
name : String,
4
viewcount : String
5
},
6
]
Copied!
  • JSON Data
To match streamer names to viewer counts, look at the same index in each corresponding list.

โ€‹
๐Ÿ•น
Get a Game's Name from Its ID

โ€‹
๐Ÿ“ฅ
Inputs

  • Game ID (Required)

โ€‹
๐Ÿ“ค
Outputs

  • Game Name
  • JSON Data

โ€‹
๐Ÿค–
Get a Game's ID from Its Name

โ€‹
๐Ÿ“ฅ
Inputs

  • Game Name (Required)

โ€‹
๐Ÿ“ค
Outputs

  • Game ID
  • JSON Data
Last modified 11mo ago