From what I know, there was never a supported api endpoint for accessing the stream data directly. The only supported method for playing a stream can be found here: https://dev.twitch.tv/docs/embed/
api.twitch.tv/api was never supported/documented(can change or disappear at anytime without warning, use at your own risk) for 3rd party development.