optimizing twitch api