{"action":"created","issue":{"url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/63","repository_url":"https://api.github.com/repos/bandwidthcom/node-bandwidth","labels_url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/63/comments","events_url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/63/events","html_url":"https://github.com/bandwidthcom/node-bandwidth/pull/63","id":165073502,"number":63,"title":"Bridges API","user":{"login":"avbel","id":3050652,"avatar_url":"https://avatars.githubusercontent.com/u/3050652?v=3","gravatar_id":"","url":"https://api.github.com/users/avbel","html_url":"https://github.com/avbel","followers_url":"https://api.github.com/users/avbel/followers","following_url":"https://api.github.com/users/avbel/following{/other_user}","gists_url":"https://api.github.com/users/avbel/gists{/gist_id}","starred_url":"https://api.github.com/users/avbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avbel/subscriptions","organizations_url":"https://api.github.com/users/avbel/orgs","repos_url":"https://api.github.com/users/avbel/repos","events_url":"https://api.github.com/users/avbel/events{/privacy}","received_events_url":"https://api.github.com/users/avbel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T12:57:21Z","updated_at":"2016-07-12T20:29:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/pulls/63","html_url":"https://github.com/bandwidthcom/node-bandwidth/pull/63","diff_url":"https://github.com/bandwidthcom/node-bandwidth/pull/63.diff","patch_url":"https://github.com/bandwidthcom/node-bandwidth/pull/63.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/comments/232170453","html_url":"https://github.com/bandwidthcom/node-bandwidth/pull/63#issuecomment-232170453","issue_url":"https://api.github.com/repos/bandwidthcom/node-bandwidth/issues/63","id":232170453,"user":{"login":"dtolb","id":6805534,"avatar_url":"https://avatars.githubusercontent.com/u/6805534?v=3","gravatar_id":"","url":"https://api.github.com/users/dtolb","html_url":"https://github.com/dtolb","followers_url":"https://api.github.com/users/dtolb/followers","following_url":"https://api.github.com/users/dtolb/following{/other_user}","gists_url":"https://api.github.com/users/dtolb/gists{/gist_id}","starred_url":"https://api.github.com/users/dtolb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtolb/subscriptions","organizations_url":"https://api.github.com/users/dtolb/orgs","repos_url":"https://api.github.com/users/dtolb/repos","events_url":"https://api.github.com/users/dtolb/events{/privacy}","received_events_url":"https://api.github.com/users/dtolb/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T20:29:52Z","updated_at":"2016-07-12T20:29:52Z","body":"After talking with @nguyer we'd rather just have `playAudio` and `speakSentence` take the bridgeID and an object WITH ALL the parameters:\r\n\r\n```node\r\nBridge.playAudio('123', {fileUrl: 'fileUrl', tag: 'tag', etc: 'etc...'}, function(err,res){});\r\n```\r\n\r\n### OR \r\n\r\nIf you want to have a simple `playAudio` and `speakSentence` along with an advanced option. we're not opposed to:\r\n\r\n```node\r\nBridge.playAudio('123', 'fileurl', function(err,res){});\r\n\r\n//AND\r\nBridge.playAudioAdvanced('123', 'fileUrl', {tag: 'tag'}, function(err,res){});\r\n\r\n//OR\r\nBridge.playAudioAdvanced('123', {fileUrl: 'fileUrl', tag: 'tag', etc: 'etc...'}, function(err,res){});\r\n```\r\n\r\nWe're not a huge fan of overloading function parameters in javascript. It makes fairly messy functions at the top where we determine what's what.\r\n"}}
{"actor":{"display_login":"dtolb"}}