Pregunta de entrevista de Twitch

Design an API that would get user data and play a video based on a specific stream url.