{"action":"created","issue":{"url":"https://api.github.com/repos/OpenLightingProject/ola/issues/731","labels_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/731/labels{/name}","comments_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/731/comments","events_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/731/events","html_url":"https://github.com/OpenLightingProject/ola/issues/731","id":76791065,"number":731,"title":"OlaClient exemple","user":{"login":"sl1200mk2","id":74775,"avatar_url":"https://avatars.githubusercontent.com/u/74775?v=3","gravatar_id":"","url":"https://api.github.com/users/sl1200mk2","html_url":"https://github.com/sl1200mk2","followers_url":"https://api.github.com/users/sl1200mk2/followers","following_url":"https://api.github.com/users/sl1200mk2/following{/other_user}","gists_url":"https://api.github.com/users/sl1200mk2/gists{/gist_id}","starred_url":"https://api.github.com/users/sl1200mk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sl1200mk2/subscriptions","organizations_url":"https://api.github.com/users/sl1200mk2/orgs","repos_url":"https://api.github.com/users/sl1200mk2/repos","events_url":"https://api.github.com/users/sl1200mk2/events{/privacy}","received_events_url":"https://api.github.com/users/sl1200mk2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenLightingProject/ola/labels/API-C++","name":"API-C++","color":"f7c6c7"},{"url":"https://api.github.com/repos/OpenLightingProject/ola/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/OpenLightingProject/ola/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-15T17:14:22Z","updated_at":"2015-05-16T04:16:30Z","closed_at":null,"body":"Hi,\r\nfor those who play with API, it would be great to have an exemple of how to use OlaClient.\r\nif you ack this request, please don't put everything in main()...\r\nalso, please use ola::thread::Thread as it's a very good feature...\r\nhope you'll echo this request...\r\n\r\n++\r\nNicolas"},"comment":{"url":"https://api.github.com/repos/OpenLightingProject/ola/issues/comments/102569940","html_url":"https://github.com/OpenLightingProject/ola/issues/731#issuecomment-102569940","issue_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/731","id":102569940,"user":{"login":"sl1200mk2","id":74775,"avatar_url":"https://avatars.githubusercontent.com/u/74775?v=3","gravatar_id":"","url":"https://api.github.com/users/sl1200mk2","html_url":"https://github.com/sl1200mk2","followers_url":"https://api.github.com/users/sl1200mk2/followers","following_url":"https://api.github.com/users/sl1200mk2/following{/other_user}","gists_url":"https://api.github.com/users/sl1200mk2/gists{/gist_id}","starred_url":"https://api.github.com/users/sl1200mk2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sl1200mk2/subscriptions","organizations_url":"https://api.github.com/users/sl1200mk2/orgs","repos_url":"https://api.github.com/users/sl1200mk2/repos","events_url":"https://api.github.com/users/sl1200mk2/events{/privacy}","received_events_url":"https://api.github.com/users/sl1200mk2/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T04:16:30Z","updated_at":"2015-05-16T04:16:30Z","body":"well these example does not contain closing channel, terminate server, cleanup (if necessary), neither a threaded example of how about to use an OlaClient.\r\nthe exemple StreamingClientTest is way better regarding these points.\r\n\r\nbest regards"}}