Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
I'm aware of the requests per day limitation (10 000 or 50 000 with API key), but is there a restriction on successive requests in a short time interval, e.g if we want to run an update in batch mode ?
Also, is there a way to request for all items details of a hero (in a single JSON) rather than doing a request for each item ? This could reduce the number of requests by about 10 !
As far as I can tell, there is not a limit except for the daily limit.
This is good advice from Teduce in another thread (http://us.battle.net/d3/en/forum/topic/6307732533) about reducing requests:
"Also unless your items are changing all the time. My app that downloads all the api info on my characters does this.
1. I first call the Profile Api to determine if the last updated on any of the characters has changed..
2.I call the character API for the characters that have been updated since the last time I called the API.
3. From that i can get the list of items for the character...then i look to see if there are any new items based on the tooltip value. and Only call the item api for those items.
That way you you take the hit the first time you call a profile. But consequent times after that you only hit the api other than the profile api for things that have changed."
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.