How would I get the view count for a given stream?

If you are not doing anything oAuth-y and just need a clientID put:

http://localhost/

Which is suggests to in the help text under that field iirc