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
0
votes
1 answer

test if Twitch stream is live with Python and TwitchAPI

I'm looking for a solution to switch scenes in OBS automatically when going live/offline. I found this Code from an earlier question but it doesn't work for me. It just returns "None". Tanks! import requests TWITCH_STREAM_API_ENDPOINT_V5 =…
Felix
  • 1
  • 2
0
votes
1 answer

How to show all available commands in twitch stream chat?

Is there a universal way of seeing all available !commands that can be used in a streamer's chat? (via a command in the chat and/or the twitch API) What I know so far I know of !commands which gives a subset of the commands available for some…
stevec
  • 41,291
  • 27
  • 223
  • 311
0
votes
2 answers

Twitch API call to get affiliate related stats

I am looking for the list of api's I can use to get the Logged-in User's affiliate status (Path to Affiliate). I have seen some websites doing it but I checked Twitch official api version 5 and latest version of the api and I dont find api's that…
Murlidhar Fichadia
  • 2,589
  • 6
  • 43
  • 93
0
votes
1 answer

Open Twitch Channel by channel id

Is there any way to open Twitch channel by it's ID Something Like https://twitch.tv/588483962
user15260712
0
votes
1 answer

twitchio How can I make Twitch Bot commands available to managers only?

How can I make Twitch Bot commands available to managers only? Some commands are only available to the manager, and some commands are available to everyone. that is my code: from twitchio.ext import commands import openpyxl from openpyxl import…
Junah201
  • 51
  • 7
0
votes
1 answer

How to make a twitch application to work with discord bot

Im trying to make a very simple discord bot in python too send a message to channel whenever a twitch channel goes live but i dont know how to make proper twitch apllication.
Svensk2137
  • 11
  • 2
0
votes
1 answer

Trying to find a way to get todays version of PogChamp emote for a Discord bot

I'm currently writing a discord bot for fun for a server I'm in, and I thought it would be fun to have the bot be able to tell you todays PogChamp emote. I've messed around with Twitch's API and TwitchEmotes API but I still haven't found a way to do…
0
votes
0 answers

Can I use requests.py for the Twitch API?

I am wondering which one of these are best for python programming with the Twitch API. I know fairly well how to use requests.py when it comes to getting information from an API but I am not sure if that is the best way. On the Twitch's website they…
Androtex
  • 31
  • 7
0
votes
0 answers

Twitch api access token issues

currently im trying to work with the twitch api, I successfully recieved my access token, however it says its wrong whenever i try to do anything else within the twitch api. headers = { 'Authorization': 'Bearer wejrwjre334', 'Client-Id':…
8auuuuuer
  • 51
  • 5
0
votes
1 answer

How to check twitch streamer status(if they are streaming)

How can I find out if a twitch streamer is live on my website with the press of a button, how do I do it?
0
votes
0 answers

why is yarn failing to load

making a schedule extension, but I'm getting this: My problem is, I'm trying to get it to work with the google calendar api, but I cant seem to find out what is wrong here is my code: import React, {useEffect, useState, useContext} from…
bob ross
  • 25
  • 2
  • 10
0
votes
1 answer

Flask and python does not allow recursive function Twitch API

I have a function that generates all video URLs of some user on Twitch def get_videos(cursor=None): # functiont to retrieve all vod URLs possible, kinda slow for now params_get_videos = {('user_id', userid_var)} # params for request.get if…
btjmga
  • 13
  • 2
0
votes
1 answer

Python - Using a While Loop, how can I update a variable string to be used in a function

Background: I'm attempting to create a dataframe using data called from Twitch's API. They only allow 100 records per call so with each pull a new Pagination Cursor is offered in order to move on to the next page. I'm using the following code to try…
0
votes
1 answer

Where and how do I store an access token?

I am using the IGDB API. It has recently changed to require OAuth tokens for authorization. This is the structure of the returned token: { "access_token": "prau3ol6mg5glgek8m89ec2s9q5i3i", "expires_in": 5587808, "token_type": "bearer" } My…
cfoster5
  • 1,696
  • 5
  • 28
  • 42
0
votes
1 answer

Twitch API OAuth

Please let me know if this is not possible...but in an effort to refactor my personal API I decided to start calling the Twitch endpoints through my API so data can be combined. To do this I direct the user to the auth page and get a bearer token…
sabo
  • 911
  • 13
  • 37