Add a "isLive" property when fetching users by id/login
My current use case: When given a username, find out if that user has a Twitch account and if so, find out if they are currently streaming.
Current solution: Use the 'Get Users' endpoint, if it finds a user, use the 'Get Streams' endpoint.
Request: Could we get a "isLive" boolean to indicate if a user is currently streaming?
-
ReactClips commented
To be clear, I'm aware that there is a "live_only" parameter on the 'Search Channels' endpoint but my use case is more precise and thus searching by a user's login is a lot more reliable. I also would still like to see results of users who are not live, so it would not be ideal to filter out those users from the 'Get Users' endpoint. I believe simply adding the "isLive" property on all user responses would be very helpful and cut back on extra requests in my particular case.