Use getJSON and sending client_id

Hi,

I’m using jquery to make some queries on Twitch API. I don’t know how to send my client_id, is-it good as a parameter like that?

$.getJSON('https://api.twitch.tv/kraken/streams/'+videoId+'?client_id=j4kcl4kel6gpu2qusk2qayjen3tr2vu&callback=?', function(data) {});

Thank you

If you don’t have the option of sending it has a header, with JSONP for example, just omit it all together. client_id as a query string param will cause issues with some calls.