New app approval - ACAC

Started by Harald Tveit Alvestrand on yesterday
Showing all 6 posts

Hi,
my app 1834 seems to be at the point where proof-of-concept is OK, and it's time to do more.
Can the app rate limit be raised?

Harald

When approved it should be max. What is the rate limit now?
Anyhow, you will always hit the rate limt, so just detect it, take a pause, and continue.

I wrote a simple bit of code to "throttle" my API calls (built into my API wrapper: I call it AFTER each API call. I know it's akward passing the URL of the last call. But using a getter for that would have been overly pedantic IMO.

// I set StartFrame in the objects' constructor.

   $this->StartFrame = time() +1;

| public function throttle ($LastURL) {
| $this->getRateHeaders ($LastURL);
|
| if ($this->getRemaining() == 0) {
| $this->StartFrame += $this->getWindow() + 1;
| //time_sleep_until($this->StartFrame);
| }
| }

I have NOT yet tested this, because my allowed rate is 1, until they approve my app. Insha Allah today. It would have been nice if the API also returned how much time was left until the end of the frame...

Is there any way to post a comment that avoids the text-formatting?

Shmuel - start a line with a space, and Geni have finally implemented a new indent option that is working.

You get a Rate Remaining value and can slow down before getting the exception.

I have the throttling implemented (of course anything can be improved), but the current rate limit is 1 request every 10 seconds.

Showing all 6 posts

Create a free account or login to participate in this discussion