twitchtv / node-apicalypse

The apicalypse query language client for nodejs
MIT License
81 stars 11 forks source link

How exclude some objects from .requestAll #26

Open Sakreetos opened 2 years ago

Sakreetos commented 2 years ago

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?

dragonfleas commented 1 month ago

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.