As i´m new to TwitchDev i´ve not really thought about different versions of the Twitch API tbh.
I already took a look at the Users Reference earlier this day, but wasn´t sure how/where to implement the curl-code in my scripts.
I tried to:
curl_exec( -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-H 'Authorization: OAuth cfabdegwdoklmawdzdo98xt2fo512y' \
-X GET 'https://api.twitch.tv/kraken/user')
But don´t think thats the right way.