Is there something I am missing here - the api stats panel in my page is showing hundreds of thousands of requests a day - is this the global amount or is my api key shared with others?
Or do I have a script running somewhere I've forgotten about! haha
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 15 Φεβρουάριος 2013 στις 09:56 ΜΜ
That is just your key. We simply log every time you hit the API.
Απάντηση από τον/την tonyblair
στις 15 Φεβρουάριος 2013 στις 10:10 ΜΜ
-and the inspector on apiary.io, is the private-####.- server public? i'm seeing much. much more activity than I think I am causing, with constant results from 'a few seconds ago', a lot of which direct to 404s.
Unless my site is unprecedented traffic, I'm not sure I understand what's going on
Απάντηση από τον/την Travis Bell
στις 15 Φεβρουάριος 2013 στις 10:17 ΜΜ
It's public, sure, but a private address that only you know. Are you seeing that much traffic on Apiary?
Just double checking but for your app, you should be using our production endpoint, not Apiary. Apiary is just a tool for testing.
Απάντηση από τον/την tonyblair
στις 15 Φεβρουάριος 2013 στις 10:20 ΜΜ
yea I am seeing requests approaching 200,000 yesterday, while I'm just running/testing a php website that makes about 5 curl calls at a time. unsure how I can monitor requests via themoviedb account page, on the api panel I just see that graph detailing the usage.
Απάντηση από τον/την Travis Bell
στις 15 Φεβρουάριος 2013 στις 10:31 ΜΜ
Just making sure we're both on the same page...
First, you're seeing that many requests on Apiary as well, or just the TMDb account page?
Second, that's not necessarily that many requests... Based on my approx. math if each page uses 5 requests, it's only about 27 pages loaded on your end per minute.
27 x 60 x 24 x 5 = 194,400
Third, any and all requests will get logged whether it's a successful 200 request or a 404.
Απάντηση από τον/την tonyblair
στις 15 Φεβρουάριος 2013 στις 10:37 ΜΜ
Wow, I suppose that could be right ....
I'd like to reduce the calls as much I can so- Can I place a search call that reveals as much detail as possible about each movie, but only serves about the first result? Including images and cast/crew
Απάντηση από τον/την tonyblair
στις 16 Φεβρουάριος 2013 στις 01:21 ΕΊΜΑΙ
Looking at the inspector again - it seems to be a near constant stream of requests using my app key from multiple ip addresses, whereas my page isn't used by anybody but me- is it possible to request a new app key / private server?
Απάντηση από τον/την Travis Bell
στις 16 Φεβρουάριος 2013 στις 03:31 ΜΜ
Hey Tony,
I can issue you a new API key, but if all of the requests are coming from Apiary, I doubt the API key is the issue, it sounds like something is up with your account on Apiary. You should contact them to see what's up. This is not a service ran by us of course, so I can't really provide much insight.
Simplest case is that they can probably generate a new private URL for you. If somehow something is up though, they might like to know.
Cheers.
Απάντηση από τον/την tonyblair
στις 16 Φεβρουάριος 2013 στις 05:17 ΜΜ
Thanks travis! Very helpful. have a good 'un! :)