Get a Client-ID by registering your application: https://dev.twitch.tv/console/apps
Use this Client id in conjunction with the bearer token you get with a process listed here: https://dev.twitch.tv/docs/authentication#types-of-tokens
The new API system requires a little bit more than the previous, but once you get a program authenticating itself once, you should be fine from there.