I have not so many streamers but I make 3 CURL requests for each channel:
- $json[‘data’][0][‘viewer_count’]
- $json[‘data’][0][‘id’]; // to get user id from his name
- $json[‘total’]; // getting followers
This is for a widget showing stream viewers and foll counters
Am I cursed now?