{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/canuckistani/bz.js/pulls/34","id":54945025,"html_url":"https://github.com/canuckistani/bz.js/pull/34","diff_url":"https://github.com/canuckistani/bz.js/pull/34.diff","patch_url":"https://github.com/canuckistani/bz.js/pull/34.patch","issue_url":"https://api.github.com/repos/canuckistani/bz.js/issues/34","number":34,"state":"open","locked":false,"title":"add getProduct and getProducts methods","user":{"login":"coyotebringsfire","id":3037548,"avatar_url":"https://avatars.githubusercontent.com/u/3037548?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotebringsfire","html_url":"https://github.com/coyotebringsfire","followers_url":"https://api.github.com/users/coyotebringsfire/followers","following_url":"https://api.github.com/users/coyotebringsfire/following{/other_user}","gists_url":"https://api.github.com/users/coyotebringsfire/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotebringsfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotebringsfire/subscriptions","organizations_url":"https://api.github.com/users/coyotebringsfire/orgs","repos_url":"https://api.github.com/users/coyotebringsfire/repos","events_url":"https://api.github.com/users/coyotebringsfire/events{/privacy}","received_events_url":"https://api.github.com/users/coyotebringsfire/received_events","type":"User","site_admin":false},"body":"I refactored my original PR to put the code in the right places, and also use native Promises instead of Q.\r\n\r\nTwo methods are added to the BugzillaClient object: getProduct and getProducts. tests are also included in tests-basic.js","created_at":"2016-01-04T05:44:04Z","updated_at":"2016-01-04T05:44:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/canuckistani/bz.js/pulls/34/commits","review_comments_url":"https://api.github.com/repos/canuckistani/bz.js/pulls/34/comments","review_comment_url":"https://api.github.com/repos/canuckistani/bz.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/canuckistani/bz.js/issues/34/comments","statuses_url":"https://api.github.com/repos/canuckistani/bz.js/statuses/68c1513c835ad8b3ac0e00e6d29607be9131fbcd","head":{"label":"coyotebringsfire:product2","ref":"product2","sha":"68c1513c835ad8b3ac0e00e6d29607be9131fbcd","user":{"login":"coyotebringsfire","id":3037548,"avatar_url":"https://avatars.githubusercontent.com/u/3037548?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotebringsfire","html_url":"https://github.com/coyotebringsfire","followers_url":"https://api.github.com/users/coyotebringsfire/followers","following_url":"https://api.github.com/users/coyotebringsfire/following{/other_user}","gists_url":"https://api.github.com/users/coyotebringsfire/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotebringsfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotebringsfire/subscriptions","organizations_url":"https://api.github.com/users/coyotebringsfire/orgs","repos_url":"https://api.github.com/users/coyotebringsfire/repos","events_url":"https://api.github.com/users/coyotebringsfire/events{/privacy}","received_events_url":"https://api.github.com/users/coyotebringsfire/received_events","type":"User","site_admin":false},"repo":{"id":48885648,"name":"bz.js","full_name":"coyotebringsfire/bz.js","owner":{"login":"coyotebringsfire","id":3037548,"avatar_url":"https://avatars.githubusercontent.com/u/3037548?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotebringsfire","html_url":"https://github.com/coyotebringsfire","followers_url":"https://api.github.com/users/coyotebringsfire/followers","following_url":"https://api.github.com/users/coyotebringsfire/following{/other_user}","gists_url":"https://api.github.com/users/coyotebringsfire/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotebringsfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotebringsfire/subscriptions","organizations_url":"https://api.github.com/users/coyotebringsfire/orgs","repos_url":"https://api.github.com/users/coyotebringsfire/repos","events_url":"https://api.github.com/users/coyotebringsfire/events{/privacy}","received_events_url":"https://api.github.com/users/coyotebringsfire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coyotebringsfire/bz.js","description":"JavaScript wrapper for the Bugzilla REST API","fork":true,"url":"https://api.github.com/repos/coyotebringsfire/bz.js","forks_url":"https://api.github.com/repos/coyotebringsfire/bz.js/forks","keys_url":"https://api.github.com/repos/coyotebringsfire/bz.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coyotebringsfire/bz.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coyotebringsfire/bz.js/teams","hooks_url":"https://api.github.com/repos/coyotebringsfire/bz.js/hooks","issue_events_url":"https://api.github.com/repos/coyotebringsfire/bz.js/issues/events{/number}","events_url":"https://api.github.com/repos/coyotebringsfire/bz.js/events","assignees_url":"https://api.github.com/repos/coyotebringsfire/bz.js/assignees{/user}","branches_url":"https://api.github.com/repos/coyotebringsfire/bz.js/branches{/branch}","tags_url":"https://api.github.com/repos/coyotebringsfire/bz.js/tags","blobs_url":"https://api.github.com/repos/coyotebringsfire/bz.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coyotebringsfire/bz.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coyotebringsfire/bz.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/coyotebringsfire/bz.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coyotebringsfire/bz.js/statuses/{sha}","languages_url":"https://api.github.com/repos/coyotebringsfire/bz.js/languages","stargazers_url":"https://api.github.com/repos/coyotebringsfire/bz.js/stargazers","contributors_url":"https://api.github.com/repos/coyotebringsfire/bz.js/contributors","subscribers_url":"https://api.github.com/repos/coyotebringsfire/bz.js/subscribers","subscription_url":"https://api.github.com/repos/coyotebringsfire/bz.js/subscription","commits_url":"https://api.github.com/repos/coyotebringsfire/bz.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/coyotebringsfire/bz.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/coyotebringsfire/bz.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/coyotebringsfire/bz.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/coyotebringsfire/bz.js/contents/{+path}","compare_url":"https://api.github.com/repos/coyotebringsfire/bz.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coyotebringsfire/bz.js/merges","archive_url":"https://api.github.com/repos/coyotebringsfire/bz.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coyotebringsfire/bz.js/downloads","issues_url":"https://api.github.com/repos/coyotebringsfire/bz.js/issues{/number}","pulls_url":"https://api.github.com/repos/coyotebringsfire/bz.js/pulls{/number}","milestones_url":"https://api.github.com/repos/coyotebringsfire/bz.js/milestones{/number}","notifications_url":"https://api.github.com/repos/coyotebringsfire/bz.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coyotebringsfire/bz.js/labels{/name}","releases_url":"https://api.github.com/repos/coyotebringsfire/bz.js/releases{/id}","created_at":"2016-01-01T18:15:09Z","updated_at":"2016-01-01T18:15:12Z","pushed_at":"2016-01-04T05:39:58Z","git_url":"git://github.com/coyotebringsfire/bz.js.git","ssh_url":"git@github.com:coyotebringsfire/bz.js.git","clone_url":"https://github.com/coyotebringsfire/bz.js.git","svn_url":"https://github.com/coyotebringsfire/bz.js","homepage":"https://wiki.mozilla.org/Bugzilla:REST_API","size":182,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"canuckistani:master","ref":"master","sha":"613a4777bd56f6e8be51e149a0796e64f2751f35","user":{"login":"canuckistani","id":104315,"avatar_url":"https://avatars.githubusercontent.com/u/104315?v=3","gravatar_id":"","url":"https://api.github.com/users/canuckistani","html_url":"https://github.com/canuckistani","followers_url":"https://api.github.com/users/canuckistani/followers","following_url":"https://api.github.com/users/canuckistani/following{/other_user}","gists_url":"https://api.github.com/users/canuckistani/gists{/gist_id}","starred_url":"https://api.github.com/users/canuckistani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canuckistani/subscriptions","organizations_url":"https://api.github.com/users/canuckistani/orgs","repos_url":"https://api.github.com/users/canuckistani/repos","events_url":"https://api.github.com/users/canuckistani/events{/privacy}","received_events_url":"https://api.github.com/users/canuckistani/received_events","type":"User","site_admin":false},"repo":{"id":1543346,"name":"bz.js","full_name":"canuckistani/bz.js","owner":{"login":"canuckistani","id":104315,"avatar_url":"https://avatars.githubusercontent.com/u/104315?v=3","gravatar_id":"","url":"https://api.github.com/users/canuckistani","html_url":"https://github.com/canuckistani","followers_url":"https://api.github.com/users/canuckistani/followers","following_url":"https://api.github.com/users/canuckistani/following{/other_user}","gists_url":"https://api.github.com/users/canuckistani/gists{/gist_id}","starred_url":"https://api.github.com/users/canuckistani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canuckistani/subscriptions","organizations_url":"https://api.github.com/users/canuckistani/orgs","repos_url":"https://api.github.com/users/canuckistani/repos","events_url":"https://api.github.com/users/canuckistani/events{/privacy}","received_events_url":"https://api.github.com/users/canuckistani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/canuckistani/bz.js","description":"JavaScript wrapper for the Bugzilla REST API","fork":false,"url":"https://api.github.com/repos/canuckistani/bz.js","forks_url":"https://api.github.com/repos/canuckistani/bz.js/forks","keys_url":"https://api.github.com/repos/canuckistani/bz.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/canuckistani/bz.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/canuckistani/bz.js/teams","hooks_url":"https://api.github.com/repos/canuckistani/bz.js/hooks","issue_events_url":"https://api.github.com/repos/canuckistani/bz.js/issues/events{/number}","events_url":"https://api.github.com/repos/canuckistani/bz.js/events","assignees_url":"https://api.github.com/repos/canuckistani/bz.js/assignees{/user}","branches_url":"https://api.github.com/repos/canuckistani/bz.js/branches{/branch}","tags_url":"https://api.github.com/repos/canuckistani/bz.js/tags","blobs_url":"https://api.github.com/repos/canuckistani/bz.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/canuckistani/bz.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/canuckistani/bz.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/canuckistani/bz.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/canuckistani/bz.js/statuses/{sha}","languages_url":"https://api.github.com/repos/canuckistani/bz.js/languages","stargazers_url":"https://api.github.com/repos/canuckistani/bz.js/stargazers","contributors_url":"https://api.github.com/repos/canuckistani/bz.js/contributors","subscribers_url":"https://api.github.com/repos/canuckistani/bz.js/subscribers","subscription_url":"https://api.github.com/repos/canuckistani/bz.js/subscription","commits_url":"https://api.github.com/repos/canuckistani/bz.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/canuckistani/bz.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/canuckistani/bz.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/canuckistani/bz.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/canuckistani/bz.js/contents/{+path}","compare_url":"https://api.github.com/repos/canuckistani/bz.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/canuckistani/bz.js/merges","archive_url":"https://api.github.com/repos/canuckistani/bz.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/canuckistani/bz.js/downloads","issues_url":"https://api.github.com/repos/canuckistani/bz.js/issues{/number}","pulls_url":"https://api.github.com/repos/canuckistani/bz.js/pulls{/number}","milestones_url":"https://api.github.com/repos/canuckistani/bz.js/milestones{/number}","notifications_url":"https://api.github.com/repos/canuckistani/bz.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/canuckistani/bz.js/labels{/name}","releases_url":"https://api.github.com/repos/canuckistani/bz.js/releases{/id}","created_at":"2011-03-29T20:52:28Z","updated_at":"2015-11-19T14:02:18Z","pushed_at":"2016-01-04T05:44:04Z","git_url":"git://github.com/canuckistani/bz.js.git","ssh_url":"git@github.com:canuckistani/bz.js.git","clone_url":"https://github.com/canuckistani/bz.js.git","svn_url":"https://github.com/canuckistani/bz.js","homepage":"https://wiki.mozilla.org/Bugzilla:REST_API","size":410,"stargazers_count":49,"watchers_count":49,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":7,"forks":19,"open_issues":7,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/canuckistani/bz.js/pulls/34"},"html":{"href":"https://github.com/canuckistani/bz.js/pull/34"},"issue":{"href":"https://api.github.com/repos/canuckistani/bz.js/issues/34"},"comments":{"href":"https://api.github.com/repos/canuckistani/bz.js/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/canuckistani/bz.js/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/canuckistani/bz.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/canuckistani/bz.js/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/canuckistani/bz.js/statuses/68c1513c835ad8b3ac0e00e6d29607be9131fbcd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":133,"deletions":0,"changed_files":3}}