You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Merge queries together into a single request
const now = Date.now();
const response = await apicalypse(requestOptions)
.multi([
apicalypse()
.query('games', 'latest-games')
.fields('name')
.where(`created_at < ${now}`)
.sort('created_at desc'),
apicalypse()
.query('games', 'coming-soon')
.fields('name')
.where(`created_at > ${now}`)
.sort('created_at asc')
])
.request('/multiquery');
Hi,
This is not an issue but a question? I know that IGDB API is rate limited with 4 requests per second and 8 active requests.
How does multiQuery handles this? Is there a limit on how many queries can be combined into 1 multiquery request? Does multiquery handles queuing and limitation itself? Is there any upper limit?
Any help or guidance is really appreciated.
The text was updated successfully, but these errors were encountered:
Multi-Query
Hi,
This is not an issue but a question? I know that IGDB API is rate limited with 4 requests per second and 8 active requests.
How does multiQuery handles this? Is there a limit on how many queries can be combined into 1 multiquery request? Does multiquery handles queuing and limitation itself? Is there any upper limit?
Any help or guidance is really appreciated.
The text was updated successfully, but these errors were encountered: