{"comment":{"url":"https://api.github.com/repos/horsedrowner/Waterbot/comments/15284206","html_url":"https://github.com/horsedrowner/Waterbot/commit/3e65b02d42d546a20c6cc1e1dba1aee035ff2480#commitcomment-15284206","id":15284206,"user":{"login":"horsedrowner","id":1766841,"avatar_url":"https://avatars.githubusercontent.com/u/1766841?v=3","gravatar_id":"","url":"https://api.github.com/users/horsedrowner","html_url":"https://github.com/horsedrowner","followers_url":"https://api.github.com/users/horsedrowner/followers","following_url":"https://api.github.com/users/horsedrowner/following{/other_user}","gists_url":"https://api.github.com/users/horsedrowner/gists{/gist_id}","starred_url":"https://api.github.com/users/horsedrowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horsedrowner/subscriptions","organizations_url":"https://api.github.com/users/horsedrowner/orgs","repos_url":"https://api.github.com/users/horsedrowner/repos","events_url":"https://api.github.com/users/horsedrowner/events{/privacy}","received_events_url":"https://api.github.com/users/horsedrowner/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"3e65b02d42d546a20c6cc1e1dba1aee035ff2480","created_at":"2016-01-06T09:49:11Z","updated_at":"2016-01-06T09:49:11Z","body":"Idea for refactoring this shit into something better/less hacky:\r\n<http://stackoverflow.com/questions/2555363/deserializing-json-into-an-object-with-json-net>\r\n\r\nIn short, a StreamResults class, which would have a _links property and a Stream property. In Channel.GetStream, get the StreamResults class, and return the first of the Stream propery.\r\n\r\nClientID can be a global static property somewhere, as it simply identifies the application, not an account somewhere."}}