Questions tagged [twitch]

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

821 questions
0
votes
1 answer

Get Json with i.e 200 objects, but only 100 displayd on one site

I'm working in my Twitch IRC Bot and we got a Problem. We receive alot of information through the twitch API (json) like Who followed, dateOf .. viewercounts.. amount of followers and stuff like that. Were making a Follow-Function to read all the…
user3220962
  • 371
  • 1
  • 7
  • 19
0
votes
0 answers

Python 3.3 IRC bot stalls on s.recv(bytes) step, does not progress timers

I'm creating an IRC bot in Python 3.3 which uses timers for several functions, including hangman and a TwitchPlaysPokemon-esqe button-pressing script. The problem is, while the bot is waiting for new server messages (line=s.recv(4096)), it…
PikalaxALT
  • 327
  • 3
  • 12
0
votes
1 answer

Twitch API json response

im trying to get data with json_decode() from twicth API however all the guides about json are having a main array which twitch doesn't provide. This is a sample the code i'm using: $api = file_get_contents("twitch.json"); $json = json_decode($api,…
user2945758
0
votes
2 answers

How to create a poll system for IRC using Pirc

I'm a beginner java user, and beginning streamer on Twitch.tv. I have been working on developing an IRC bot all night that would streamline moderation on my channel (I want to have that level of customization that using a cookie cutter IRC bot can't…
0
votes
1 answer

Twitch live status of each username on the page

I want to display whether a twitch username in my anchor link is online or offline. The problem is that I will have multiple usernames on the website, and my code only works for the first one. var tnick =…
Znk3
  • 45
  • 1
  • 7
0
votes
1 answer

JS styling 3 per line

I'm trying to make this so there is 3 on a line then a break then 3 more then a break etc.. Any help? Code so far http://jsfiddle.net/82wNq/69/ $.getJSON("https://api.twitch.tv/kraken/search/streams?q=dayz&limit=15&type=suggest&callback=?", function…
Gav
  • 35
  • 1
  • 1
  • 8
0
votes
1 answer

Twitch API - Fail in the user request

Everything in the PHP code is correct (I checked myself) and there is no error from curl, but the result is always an empty variable (No true/false). public function prepareUser() { $url = $this->TwitchAPI->endUrl("USERT"); $temp =…
xMoltenX
  • 199
  • 2
  • 11
0
votes
1 answer

API Styling Javascript + HTML

Basically I'm using bootstrap CSS with the panels / headers I have an API going from Twitch.tv's Kraken that grabs 3 streams My problem is it shows the 3 streams in the one box http://jsfiddle.net/82wNq/28/
Gav
  • 37
  • 1
  • 1
  • 6
0
votes
1 answer

Python JSON Decoder Error

I'm currently using a script that broadcasts to IRC when a specified Twitch TV Channels goes on Air. But for some reason I keep getting an error when it goes online. But when it goes offline it works perfectly fine. Python Code: # Twitch IRC status…
TimTims
  • 43
  • 9
0
votes
1 answer

Twitch tv embedded defaults to autoplay true. Need help turning it to false

I am trying to put multiple twitch tv streams on one page but when i load the page they start right away and that might cause trouble to visitors on my website. I tried in the embedded code to turn autoplay to false but nothing happends. Here is my…
CHASE
  • 501
  • 1
  • 7
  • 21
0
votes
1 answer

Rails getting wanted sets from JSON

UPDATE: I tried json = JSON.parse(@twitch.getStreams(game:"League of Legends").to_json)['body']['streams'] json.first("_link") But now I'm getting no implicit conversion of String into Integer I have a JSON and i need to find certain parameters…
tehras
  • 741
  • 1
  • 7
  • 19
0
votes
2 answers

How to send message to chat in IRC server?

How to send message to chat in IRC server? Here is API server, and description how to connect to this server, but I don't know how to implement it in java. At first I need to connect to his irc server with login and password. And then send…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
0
votes
2 answers

How to get a video stream from an RTMP server to Android?

I want to implement streaming from an RTMP server. For example, below is the link of an RTMP server. http://usher.justin.tv/find/CHANNELNAME.json?type=any And want to do streaming of it. I found one way: It is connected to a SWF file on a Twitch…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
0
votes
2 answers

Trying to auth IRC bot to irc.twitch.tv (C++)

So I'm trying to make an IRC bot that can connect to the Twitch.tv IRC servers using C++. So far, I've managed to get this bot to connect to IRC servers that don't require any sort of password, but I'm getting tripped up at the part where I need the…
-1
votes
1 answer

I'm trying to register for twitch using the selenium library in python, but it gives such an error

I encountered the problem mentioned in the title. options = Options() options.add_argument("User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36") service =…
aouty22
  • 5
  • 1