#twitch user avatar from streams endpoint

5 messages · Page 1 of 1 (latest)

honest comet
#

how do i get a twitch users avatar from the twitch.tv/helix/streams?user_login=... endpoint without making an additional api call?

#
{'data': [{'id': '41629820315', 'user_id': '660643715', 'user_login': 'imcatjam', 'user_name': 'ImCatJam', 'game_id': '116747788', 'game_name': 'Pools, Hot Tubs, and Beaches', 'type': 'live', 'title': '🔴NEW SCENE BUT NEW SONG 🥳 1 YEAR+ (13K HOURS UPTIME) NON STOP STREAMING 🥳 | !PRICE !WHYCHANGESONG !VTUBER !SOCIALS !LAYZR', 'viewer_count': 28, 'started_at': '2022-12-20T11:53:57Z', 'language': 'en', 'thumbnail_url': 'https://static-cdn.jtvnw.net/previews-ttv/live_user_imcatjam-{width}x{height}.jpg', 'tag_ids': ['6ea6bca4-4712-4ab9-a906-e3336a9d8039'], 'tags': ['English', 'catJAM', 'ImCatJam', 'meow', 'peow', 'meoeoeoew', 'uwu', 'jamming', 'dance', 'shaking'], 'is_mature': False}], 'pagination': {'cursor': 'idk what this is but it looks scary'}}
#

this is the json response i get from twitch

cerulean junco
#

Maybe the ["thumbnail_url"] part?

honest comet
#

thats for the stream