Questions tagged [twitch-api]

Twitch is a live streaming service and global community for content spanning gaming, entertainment, music, sports, and more. Use this tag for questions related to the Twitch API, Extensions, Drops, or EventSub.

Official Twitch Links

Twitch API on GitHub

181 questions
1
vote
1 answer

Fetch only once data from twitch API

I need to do 3 request to the twitch API (grap the info about the live, about the streamer and the game). I can't to it one shot because the data from the live is not already available for fetch the other data. How can I do it without the need of…
1
vote
0 answers

Is there an irc or twitch api function that let's me read all twitch chat messages from an already completed stream?

I'm trying to read in every Twitch chat message on already completed Twitch streams, with the intent to summarize and get some statistics on the messages. What API do I use to pull down a list of chat messages from completed streams? There seems to…
AndersonHappens
  • 507
  • 1
  • 4
  • 16
1
vote
1 answer

Get online status of stream of Twitch team members

I want to get a list of all online status (if it is streaming or not) of Twitch team members for a given team name. My current approach Get team from API (https://api.twitch.tv/kraken/team/) Get stream status for each team member…
Tobonaut
  • 2,245
  • 2
  • 26
  • 39
1
vote
1 answer

How can I make sure that my twitch bot can only take commands from certain users with NODEJS and the TMI API?

I am trying to make a twitch bot that uses a command that only the channel owner can use. How can I identify a unique user. Basically, how can I tell the program to only allow a certain user to use a certain command?
christopherson
  • 383
  • 3
  • 6
  • 20
1
vote
2 answers

How to map all results from Twitch API using cursor - React

The Twitch API displays a maximum of 60 records and a _next cursor for pagination. I can't find a way to map through all the results using the cursor in React using the map function. componentDidMount() { this.getComments(); } …
TJDev
  • 133
  • 3
  • 13
1
vote
1 answer

'Cant read property of undefined' error in Twitch API response

I am trying to display all display_name values of this JSON page (the max is 25), however I get an error of "cant read property of undefined". My code is as follows: $(document).ready(function(){ var url=…
1
vote
1 answer

How do I receive Twitch.tv Webhooks in Python?

I'm trying to make a simple Discord Bot that posts when a streamer goes live but I'm not sure how to use the Twitch webhooks without having a website? Is it possible to handle it all in a Python script? Documentation here webhookurl =…
Masonator
  • 121
  • 1
  • 6
1
vote
1 answer

Interactive Twitch player doesn’t work with just video Id in the options

I am using Twitch API in order to embed and interactive video player in my website and interact with it using Twitch API in Javascript. I use this code: var options = { width: 560, height: 315, autoplay: true, …
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
0
votes
1 answer

Chrome extension manifest v3; Is there a way to communicate between background service_worker and content_scripts?

I have service_worker at background that is running WebSocket connection with twitch chat. Also I have content_script that is connected to music service api, handling events of current track change. And I need to extract data from content_script…
0
votes
1 answer

How can I see these specific response headers?

I am using Twitch's API to gather data for a web app I'm developing. Per the documentation, However, when I make the request in Postman, I don't see it. They are in the header response section (I didn't screenshot the remaining half of the…
VertPin
  • 11
  • 1
0
votes
0 answers

Trying to fetch a larger image from Twitch API

I'm working on a type of backlog website, and the code right now is only fetching a size of 52x72 from the Twitch api. I know it can fetch larger ones I'm jut having trouble figuring out how to change it. Here is the code I have so far if…
0
votes
1 answer

How can I change the Body of a post request in Postman?

I'm able to get the property (URL, which responds with the URL to an image) I need for my application, but I need the image in a larger size. 't_thumb' is interchangeable. I want that to be 't_1080p'. By changing that, the responded data would be a…
VertPin
  • 11
  • 1
0
votes
0 answers

Deploy Google Apps Script OAuth 2.0 Web App executing functions as owner (me) available to anyone (anonymous user)

I am building a Twitch API integration within a Google Apps Script project. The idea is to allow users to authenticate the Twitch App through the web app portal. The authentication works and an access token is returned as I need when deploying the…
ICV
  • 11
0
votes
0 answers

TwitchAPI Get streams and filter them by specific stream tag

So I'm struggling with TwitchAPI because their API is quite limited with filtering what you are trying to query from them. So I'm using GetStreams from TwitchAPI, but unfortunately with said query you can't specify tags as parameter, so I have been…
newbNox
  • 1,000
  • 2
  • 15
  • 25
0
votes
0 answers

Twitch vod Current time display

I have this Twitch Vod that I want to show on my webpage, Now I want to show the current time of the video when it is playing separate. There is this function that returns this time but I can't get it to work. here where i set my time to be…
sol
  • 11
  • 4