Get statistics on views for the period

How to get statistics on views for a period on a specific channel.
ChatGpt tricked me and wrote a non-existent API request.
url = f’https://api.twitch.tv/helix/insights/channels?broadcaster_id={channel_id}&started_at={start_time}&ended_at={end_time}

Is this really ?

sighs chatGPT strikes again yeah complete fabrication this one

There has never been a Broadcaster Stats API

All supported API calls that exist can be found on this one page reference Reference | Twitch Developers no need to ChatGPT

You don’t there is no such API

Uservoice for this request https://twitch.uservoice.com/forums/310213-developers/suggestions/47176289-authorised-access-to-statistics

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.