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

PHP get Twitch account stream key

I would like to know how I get and generate a new stream key from my twitch.tv account. $clientId = ""; $clientSecret = ""; $channelName = ""; $channelId = ""; $url = "https://id.twitch.tv/oauth2/token"; $data = array( "client_id" =>…
-1
votes
1 answer

get if streamer is on Stream

I'm making a Twitch and Discord bot, but now I have a problem. I want to check if the streamer is live and send a console.log() if it is live, but I am not able to do that. require("dotenv").config(); const Discord = require('discord.js'); const {…
-1
votes
1 answer

Twitch Whisper Bot Doesn't Sending Whispers - Python

`I'm a begginer in python, so I'm learning how to send whispers using a bot, to help my friend. I've do a research and and I arrived at the following code. `HOST = 'irc.twitch.tv' PORT = 6667 USER = 'bot name' PASS = 'oauth:xxxxxxxxxx' CHAN =…
Margoni
  • 1
  • 1
-1
votes
1 answer

CSS Scale Text Based on Username Length

I stream on Twitch, and I have an overlay below my facecam that displays the username of somebody who's interacted with my stream recently. Whenever a username is too long to fit in the aforementioned facecam overlay it gets pushed halfway off the…
-1
votes
1 answer

Twitch api map function is not returing anything but console log is?

Currently I have a page in Nextjs that is calling multiple twitch endpoints, all of them work and display the appropriate data, however one of the mapping functions will not render anything, yet if I console log the the map it does? I am somewhat…
MatDoak
  • 132
  • 5
  • 17
-1
votes
1 answer

Twitch bot multiple channels but message only at 1

So my bot is connected to 3 channels and if all 3 channels are online how can bot only work on First channel if he's going offline so swap to next channel const tmi = require('tmi.js'), { channel, username, password } =…
Cortex
  • 1
  • 1
-1
votes
1 answer

How can you find out which extensions a twitch streamer is using?

How can you check which extensions a twitch streamer is using? For example, extensions used when creating their 'About' page, or when running custom codes (e.g. !event) during a stream
stevec
  • 41,291
  • 27
  • 223
  • 311
-1
votes
1 answer

(Python) ImportError: No module named irc.bot

File "/home/pi/chatbot-python-sample/chatbot.py", line 12, in import irc.bot ImportError: No module named irc.bot Anyone know what I'm doing wrong? I already installed irc and irc.bot
-1
votes
1 answer

I need a function where my bot can print out a msg when I call it. I would like to use the discord-rewrite api

I have been using the twitch and discord-rewrite api I have been writing a program where a user in discord can type !Notify (twitch-client-id) which will notify them on discord when one of the people they have followed on twitch has started…
M_M
  • 49
  • 1
  • 5
-2
votes
1 answer

Having trouble with the Twitch API

I am trying to get chat, then turn that into a number of chatters per time period and then take the top 10 moments and print into a text file so that I can edit easier, however I cant seem to get it to work, it seems something wrong with the client…
-2
votes
1 answer

how to find out online of streamer via http get request twitch

Hello everyone! I need to send http get request to twitch API. How it works: User inputs name of the streamer, my programm sends http get request to twitch API and the output need to be how much viewers right now on the twitch stream. my try: import…
Danylo
  • 3
  • 4
-2
votes
1 answer

How to use twitch api?

I have been recently reading about the Twitch API reference to figure out getting channel ids by username, but have no idea how to use it. https://api.twitch.tv/helix/users is the link where I was sending my params. URL =…
Wilfred
  • 47
  • 5
-2
votes
2 answers

C# Having Trouble Asynchronously Downloading Multiple Files in Parallel on Console Application

Before you all go on a rampage about how this is a duplicate question, I have spent two days working on this issue, watching youtube tutorials on asynchronous programming, surfing similar stackoverflow posts etc, and I cannot for the life of me…
BenWornes
  • 91
  • 1
  • 1
  • 11
-3
votes
1 answer

Any idea how to make a notification of twitch bans like StreamerBans for a twitter bot?

I want to create a twitter bot on node.js that notifies about bans / unbans and streams on twitch but I do not know how I have seen several "tutorials" but none shows any way, I am not very experienced in this and it is my first time working with…
-3
votes
1 answer

Discord bot that sends a message to channel, when a keyword has been written in twitch chat

I'm looking for discord bot that sends a message to a channel, when a keyword has been written in twitch chat. example: someone written in chat "hello", then in discord channel I get a message with ping.
morsu
  • 1
1 2 3
11
12