Like most of the dashboard data, you can’t obtain the analytics through the API.
It has been requested, I’ve asked for it myself at the Twitch dev tour as I do private analytics and access to some of these additional metrics which are not easily obtained would be awesome, but sadly no future plans have been made public about opening these, or other pieces of Dashboard data, to the API.
A lot of the points you mentioned though, such as total views, followers, minutes watched and things of that nature can be record yourself, you just wont have historical data.