node-apicalypse icon indicating copy to clipboard operation
node-apicalypse copied to clipboard

How exclude some objects from .requestAll

Open Sakreetos opened this issue 3 years ago • 1 comments

Hi.

I want to get some games based on platforms but seems like .requestAll returns all games that endpoint can provide. Is there any way to make .requestAll return objects based on parameters I set?

Sakreetos avatar May 09 '22 14:05 Sakreetos

Hi.

I want to get some games based on platforms but seems like .requestAll returns all games that endpoint can provide. Is there any way to make .requestAll return objects based on parameters I set?

A hacky solution to this may be to set a request interceptor in the requestAll options that filters data there.

dragonfleas avatar May 16 '24 20:05 dragonfleas