Hainzy262 / comictagger

Automatically exported from code.google.com/p/comictagger
0 stars 0 forks source link

Rate limit exceeded. Slow down cowboy. #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It seems Comic Vine implemented limit for API calls per API key (200 
calls/15minute).  Obviously there will have to be configuration option that 
will allow each user to use his own API key as we cannot keep using developer 
one. 

In a meantime you can continue using CT by replacing hardcoded API key with 
your own. In ComicTagger folder edit the file comictaggerlib/comicvinetalker.py 
On line 70 replace API key with your own.

To get the key, you have to create comicvine.com account (free one is fine). 
Once you have the account go to http://www.comicvine.com/api/ to get the key.

Original issue reported on code.google.com by sas...@gmail.com on 8 Jun 2014 at 1:31

GoogleCodeExporter commented 8 years ago
I have the mac version and there is no comicvinetalker.py file. What is the 
developer api, maybe I can search the files that way?

Original comment by ryanrop...@gmail.com on 8 Jun 2014 at 2:13

GoogleCodeExporter commented 8 years ago
Developer key used by CT is defined here:
https://code.google.com/p/comictagger/source/browse/trunk/comictaggerlib/comicvi
netalker.py#70

Original comment by sas...@gmail.com on 8 Jun 2014 at 5:33

GoogleCodeExporter commented 8 years ago
Ran into this issue this week.  You have to checkout the source (see the Source 
tab, above).  The find comicvinetalker.py in the comictaggerlib folder.  Search 
for the comment: "# key that is registered to comictagger" to find it.  Then 
Build.  It would be great to have a preference setting to let the user enter in 
their own API key, now that ComicTagger's doing this.  (Note, I'm not an expert 
in Building Mac apps from py scripts, so I just couldn't figure out the build.  
I eventually got it to work, but my .app wouldn't launch, so I must have messed 
something up there.)

Original comment by jamesbel...@gmail.com on 8 Jun 2014 at 6:49

GoogleCodeExporter commented 8 years ago
Edit: Typo - *Now that ComicVINE's doing this.

Original comment by jamesbel...@gmail.com on 8 Jun 2014 at 6:50

GoogleCodeExporter commented 8 years ago
Crap.  There was no warning (near as I can tell) of this change.  As sasha0 
says, there will need to be a new config  setting for the user to provide an 
API key.  

Might be a week or two before I get to this for the binary builds, since I'm 
having issues on my Mac (among other time constraints).  :-(

Original comment by bevi...@gmail.com on 9 Jun 2014 at 5:02

GoogleCodeExporter commented 8 years ago
is there any way someone can do some kinda tutorial to change the API?
i have zero idea what to do or even where to start looking to learn would be 
much appreciated.

Original comment by dancingr...@gmail.com on 12 Jun 2014 at 2:07

GoogleCodeExporter commented 8 years ago
New release 1.1.15-beta allows users to set their own API key.  Crashing on 
rate limits is also fixed.  Not sure what best to do when it happens, but 
things should work a little better now.

Original comment by bevi...@gmail.com on 14 Jun 2014 at 7:46