{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22","id":197510618,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NTEwNjE4","html_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi/pull/22","diff_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi/pull/22.diff","patch_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi/pull/22.patch","issue_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/22","number":22,"state":"closed","locked":false,"title":"Expanded and updated examples.","user":{"login":"jagrafft","id":12307712,"node_id":"MDQ6VXNlcjEyMzA3NzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12307712?v=4","gravatar_id":"","url":"https://api.github.com/users/jagrafft","html_url":"https://github.com/jagrafft","followers_url":"https://api.github.com/users/jagrafft/followers","following_url":"https://api.github.com/users/jagrafft/following{/other_user}","gists_url":"https://api.github.com/users/jagrafft/gists{/gist_id}","starred_url":"https://api.github.com/users/jagrafft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagrafft/subscriptions","organizations_url":"https://api.github.com/users/jagrafft/orgs","repos_url":"https://api.github.com/users/jagrafft/repos","events_url":"https://api.github.com/users/jagrafft/events{/privacy}","received_events_url":"https://api.github.com/users/jagrafft/received_events","type":"User","site_admin":false},"body":"1. Refactored examples `getStreaming.js` and `getStreamingWiFiDirect.js`\r\n   - Removed dead code\r\n   - Renamed variables\r\n   - Variables properly classed into `const` and `let`\r\n   - Improved readability\r\n   - Eliminated functional redundancies\r\n2. Added example `xstreamCSV.js`\r\n   - Direct WiFi\r\n   - Pipes data from OpenBCI hardware into an [XStream](https://github.com/staltz/xstream) producer\r\n   - Outputs to console, CSV (via WriteStream) using listeners","created_at":"2018-06-26T18:20:43Z","updated_at":"2018-06-27T10:03:58Z","closed_at":"2018-06-27T10:03:58Z","merged_at":"2018-06-27T10:03:58Z","merge_commit_sha":"9c32cba2e1885650607e87766d31fa889bc27ae2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22/commits","review_comments_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22/comments","review_comment_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/22/comments","statuses_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/statuses/5cdcf0a001712ef3c664e0e0be75328ac7dc4299","head":{"label":"jagrafft:master","ref":"master","sha":"5cdcf0a001712ef3c664e0e0be75328ac7dc4299","user":{"login":"jagrafft","id":12307712,"node_id":"MDQ6VXNlcjEyMzA3NzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12307712?v=4","gravatar_id":"","url":"https://api.github.com/users/jagrafft","html_url":"https://github.com/jagrafft","followers_url":"https://api.github.com/users/jagrafft/followers","following_url":"https://api.github.com/users/jagrafft/following{/other_user}","gists_url":"https://api.github.com/users/jagrafft/gists{/gist_id}","starred_url":"https://api.github.com/users/jagrafft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagrafft/subscriptions","organizations_url":"https://api.github.com/users/jagrafft/orgs","repos_url":"https://api.github.com/users/jagrafft/repos","events_url":"https://api.github.com/users/jagrafft/events{/privacy}","received_events_url":"https://api.github.com/users/jagrafft/received_events","type":"User","site_admin":false},"repo":{"id":137101869,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMDE4Njk=","name":"OpenBCI_NodeJS_Wifi","full_name":"jagrafft/OpenBCI_NodeJS_Wifi","owner":{"login":"jagrafft","id":12307712,"node_id":"MDQ6VXNlcjEyMzA3NzEy","avatar_url":"https://avatars3.githubusercontent.com/u/12307712?v=4","gravatar_id":"","url":"https://api.github.com/users/jagrafft","html_url":"https://github.com/jagrafft","followers_url":"https://api.github.com/users/jagrafft/followers","following_url":"https://api.github.com/users/jagrafft/following{/other_user}","gists_url":"https://api.github.com/users/jagrafft/gists{/gist_id}","starred_url":"https://api.github.com/users/jagrafft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagrafft/subscriptions","organizations_url":"https://api.github.com/users/jagrafft/orgs","repos_url":"https://api.github.com/users/jagrafft/repos","events_url":"https://api.github.com/users/jagrafft/events{/privacy}","received_events_url":"https://api.github.com/users/jagrafft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jagrafft/OpenBCI_NodeJS_Wifi","description":"NodeJS driver for the Wifi Shield","fork":true,"url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi","forks_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/forks","keys_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/teams","hooks_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/hooks","issue_events_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/issues/events{/number}","events_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/events","assignees_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/assignees{/user}","branches_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/branches{/branch}","tags_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/tags","blobs_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/statuses/{sha}","languages_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/languages","stargazers_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/stargazers","contributors_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/contributors","subscribers_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/subscribers","subscription_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/subscription","commits_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/contents/{+path}","compare_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/merges","archive_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/downloads","issues_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/issues{/number}","pulls_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/pulls{/number}","milestones_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/milestones{/number}","notifications_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/labels{/name}","releases_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/releases{/id}","deployments_url":"https://api.github.com/repos/jagrafft/OpenBCI_NodeJS_Wifi/deployments","created_at":"2018-06-12T16:50:15Z","updated_at":"2018-06-26T17:57:15Z","pushed_at":"2018-06-26T17:57:14Z","git_url":"git://github.com/jagrafft/OpenBCI_NodeJS_Wifi.git","ssh_url":"git@github.com:jagrafft/OpenBCI_NodeJS_Wifi.git","clone_url":"https://github.com/jagrafft/OpenBCI_NodeJS_Wifi.git","svn_url":"https://github.com/jagrafft/OpenBCI_NodeJS_Wifi","homepage":null,"size":310,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenBCI:master","ref":"master","sha":"065a88f6c81545ec781670a16ecc5cbdff4f142e","user":{"login":"OpenBCI","id":6003329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMDMzMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6003329?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenBCI","html_url":"https://github.com/OpenBCI","followers_url":"https://api.github.com/users/OpenBCI/followers","following_url":"https://api.github.com/users/OpenBCI/following{/other_user}","gists_url":"https://api.github.com/users/OpenBCI/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBCI/subscriptions","organizations_url":"https://api.github.com/users/OpenBCI/orgs","repos_url":"https://api.github.com/users/OpenBCI/repos","events_url":"https://api.github.com/users/OpenBCI/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBCI/received_events","type":"Organization","site_admin":false},"repo":{"id":96554004,"node_id":"MDEwOlJlcG9zaXRvcnk5NjU1NDAwNA==","name":"OpenBCI_NodeJS_Wifi","full_name":"OpenBCI/OpenBCI_NodeJS_Wifi","owner":{"login":"OpenBCI","id":6003329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwMDMzMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6003329?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenBCI","html_url":"https://github.com/OpenBCI","followers_url":"https://api.github.com/users/OpenBCI/followers","following_url":"https://api.github.com/users/OpenBCI/following{/other_user}","gists_url":"https://api.github.com/users/OpenBCI/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBCI/subscriptions","organizations_url":"https://api.github.com/users/OpenBCI/orgs","repos_url":"https://api.github.com/users/OpenBCI/repos","events_url":"https://api.github.com/users/OpenBCI/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi","description":"NodeJS driver for the Wifi Shield","fork":false,"url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi","forks_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/forks","keys_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/teams","hooks_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/hooks","issue_events_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/events","assignees_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/tags","blobs_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/languages","stargazers_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/stargazers","contributors_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/contributors","subscribers_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/subscribers","subscription_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/subscription","commits_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/merges","archive_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/downloads","issues_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/labels{/name}","releases_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/releases{/id}","deployments_url":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/deployments","created_at":"2017-07-07T15:53:53Z","updated_at":"2017-11-23T18:14:26Z","pushed_at":"2018-06-27T10:03:58Z","git_url":"git://github.com/OpenBCI/OpenBCI_NodeJS_Wifi.git","ssh_url":"git@github.com:OpenBCI/OpenBCI_NodeJS_Wifi.git","clone_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi.git","svn_url":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi","homepage":null,"size":276,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":0,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22"},"html":{"href":"https://github.com/OpenBCI/OpenBCI_NodeJS_Wifi/pull/22"},"issue":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/22"},"comments":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBCI/OpenBCI_NodeJS_Wifi/statuses/5cdcf0a001712ef3c664e0e0be75328ac7dc4299"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"aj-ptw","id":11437469,"node_id":"MDQ6VXNlcjExNDM3NDY5","avatar_url":"https://avatars2.githubusercontent.com/u/11437469?v=4","gravatar_id":"","url":"https://api.github.com/users/aj-ptw","html_url":"https://github.com/aj-ptw","followers_url":"https://api.github.com/users/aj-ptw/followers","following_url":"https://api.github.com/users/aj-ptw/following{/other_user}","gists_url":"https://api.github.com/users/aj-ptw/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-ptw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-ptw/subscriptions","organizations_url":"https://api.github.com/users/aj-ptw/orgs","repos_url":"https://api.github.com/users/aj-ptw/repos","events_url":"https://api.github.com/users/aj-ptw/events{/privacy}","received_events_url":"https://api.github.com/users/aj-ptw/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":3359,"deletions":104,"changed_files":6}}
{"actor":{"display_login":"aj-ptw"}}