How should i get user recently stream category using API

You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game y
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x
You Call Get Streams it says user x is playing game x

So you call the api periodicially (aka poll)
and whenever the game changes you record the change