I try to get “sub_plan” and “sub_plan_name”, but when i use:
And I do not get the parameters that I need (“sub_plan”, “sub_plan_name”)
What am I doing wrong?
You just need use this one:
Yeah you are on API v3 which is the current default.
Either do what you have done passing token and version as a query string argument, or pass them as header arguments; https://dev.twitch.tv/docs/v5/guides/using-the-twitch-api/
curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Authorization: OAuth cfabdegwdoklmawdzdo98xt2fo512y' \
-X GET https://api.twitch.tv/kraken
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.