Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
App Engine / Twitch API Issue (*update*)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
suitega...@gmail.com  
View profile  
 More options Aug 28 2012, 4:24 pm
From: suitega...@gmail.com
Date: Tue, 28 Aug 2012 13:24:03 -0700 (PDT)
Local: Tues, Aug 28 2012 4:24 pm
Subject: App Engine / Twitch API Issue (*update*)

Hello.

I figured I would post my findings here.

My original thread is here:

http://support.twitch.tv/discussion/6124/twitch-api-is-generating-an-...

Any who, the issue is with Twitch TV's API servers. For some reason, app engine is getting blacklisted from receiving any answers when a call is made to the servers. I confirmed this by writing an app that simply prints the call strings on the page. The twitch tv call failed when deployed, where as the ow3d.tv api call worked perfectly.

This is the application that failed (twitch):

import webapp2
import urllib2

class MainHandler(webapp2.RequestHandler):
    def get(self):
        url = ('https://api.twitch.tv/kraken/streams/nl_kripp')
        contents = urllib2.urlopen(url)
        self.response.out.write(contents.read())

app = webapp2.WSGIApplication([('/', MainHandler)],
                              debug=True)

This is the application that worked (own3d.tv):

import webapp2
import urllib2

class MainHandler(webapp2.RequestHandler):
    def get(self):
        url = ('http://api.own3d.tv/liveCheck.php?live_id=10588')
        contents = urllib2.urlopen(url)
        self.response.out.write(contents.read())

app = webapp2.WSGIApplication([('/', MainHandler)],
                              debug=True)

If someone could pass this on to the API team, it would be greatly appreciated. Sorry for the time i've consumed... Hopefully this gets fixed! I need Twitch TV in my Application !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Ossareh  
View profile  
 More options Aug 28 2012, 8:23 pm
From: Mike Ossareh <ossa...@twitch.tv>
Date: Tue, 28 Aug 2012 17:23:09 -0700
Local: Tues, Aug 28 2012 8:23 pm
Subject: Re: App Engine / Twitch API Issue (*update*)

We are the team :)

Thanks for your help, I'll get to looking into why this is a problem. Also
note that, as per my email yesterday, that we're moving over to a new Twitch
specific mailing
list<https://groups.google.com/forum/?fromgroups#!forum/twitch-api>,
so please make sure you post follow ups there.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
suitegamer  
View profile  
 More options Sep 2 2012, 1:05 pm
From: suitegamer <suitega...@gmail.com>
Date: Sun, 2 Sep 2012 10:05:38 -0700 (PDT)
Local: Sun, Sep 2 2012 1:05 pm
Subject: Re: App Engine / Twitch API Issue (*update*)

Any updates? :D


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
romme...@gmail.com  
View profile  
 More options Sep 9 2012, 12:30 am
From: romme...@gmail.com
Date: Sat, 8 Sep 2012 21:30:03 -0700 (PDT)
Local: Sun, Sep 9 2012 12:30 am
Subject: Re: App Engine / Twitch API Issue (*update*)

I think I am having the same or a similar problem. My API calls fail after the 16th call. On the 17th, it returns a HTTP Error 400: Bad Request.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fire  
View profile  
 More options Sep 9 2012, 4:39 pm
From: Fire <dragonsbl...@gmail.com>
Date: Sun, 9 Sep 2012 13:39:11 -0700 (PDT)
Local: Sun, Sep 9 2012 4:39 pm
Subject: Re: App Engine / Twitch API Issue (*update*)

That's a standard rate limiting issue, even my clientside javascript page
to get a list of followers fails on/after the 16th call. There's no way to
get around it. If you're using a non-time sensitive app you can just queue
it and pick up where you left off later, but for webpages that need the
info *now*, there are no alternatives with this api


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rommel Rico  
View profile  
 More options Sep 10 2012, 11:54 am
From: Rommel Rico <romme...@gmail.com>
Date: Mon, 10 Sep 2012 08:54:22 -0700
Local: Mon, Sep 10 2012 11:54 am
Subject: Re: App Engine / Twitch API Issue (*update*)

Yes, sorry, you are correct. I just inserted some seconds after each call
and it worked fine. Thanks. If anyone is interested in the code:
https://github.com/RommelTJ/streammaintainer/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Ossareh  
View profile  
 More options Sep 10 2012, 1:29 pm
From: Mike Ossareh <ossa...@twitch.tv>
Date: Mon, 10 Sep 2012 10:29:20 -0700
Local: Mon, Sep 10 2012 1:29 pm
Subject: Re: App Engine / Twitch API Issue (*update*)

Out of interest, why use that video API as opposed to the new
one<https://github.com/justintv/Twitch-API/wiki/Videos-Resource>
?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »