Now I’ve searched through this. There’s billions of answers about this, but jesus christ somehow none of them worked.
Obviously I don’t want to specify an ID. I’m writing in bash and I want to make it the least painful as possible.
The consensus has mostly been: ?login=username
That seems to not work for videos https://i.imgur.com/NQJZHCE.png
To transcribe:
curl -H ‘Accept: application/vnd.twitchtv.v5+json’ \ davidv7@davidv7
-H ‘Client-ID: …’
-X GET ‘https://api.twitch.tv/kraken/channels?login=imaqtpie/videos’
Obviously Client-ID is not empty. The response is complaining about lack of id.
Now the logic would be just to get a channel’s id. But how do I get it? I’ve been scouring through these threads about a billion times and it either wasn’t clear at all or it didn’t work. What should I be querying to just get videos. And a general question. What’s the point of having every example request be with an id? Maybe there’s a reason this was asked 5 billion times and keeps getting asked.
EDIT: I’m now aware I get a user id first throguh user?login=imaqtpie but investigating further there might be code issues there not sure will update