{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3","id":63396278,"html_url":"https://github.com/bibletag/bibletagapi/pull/3","diff_url":"https://github.com/bibletag/bibletagapi/pull/3.diff","patch_url":"https://github.com/bibletag/bibletagapi/pull/3.patch","issue_url":"https://api.github.com/repos/bibletag/bibletagapi/issues/3","number":3,"state":"closed","locked":false,"title":"Moved the API key to an environment variable","user":{"login":"raysarebest","id":7948008,"avatar_url":"https://avatars.githubusercontent.com/u/7948008?v=3","gravatar_id":"","url":"https://api.github.com/users/raysarebest","html_url":"https://github.com/raysarebest","followers_url":"https://api.github.com/users/raysarebest/followers","following_url":"https://api.github.com/users/raysarebest/following{/other_user}","gists_url":"https://api.github.com/users/raysarebest/gists{/gist_id}","starred_url":"https://api.github.com/users/raysarebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysarebest/subscriptions","organizations_url":"https://api.github.com/users/raysarebest/orgs","repos_url":"https://api.github.com/users/raysarebest/repos","events_url":"https://api.github.com/users/raysarebest/events{/privacy}","received_events_url":"https://api.github.com/users/raysarebest/received_events","type":"User","site_admin":false},"body":"It's clearly best practice to not check an API key into version control, and thus keep it in an environment variable, and this commit takes care of that. The API key to the Digital Bible Platform should now be set in the environment as `BIBLETAGAPI_DBP_API_KEY`, and can be referenced from a `Configuration` struct as `DBPAPIKey`. If it's not set in the environment, it will default to `nil` on the struct","created_at":"2016-03-18T15:58:43Z","updated_at":"2016-03-23T17:41:19Z","closed_at":"2016-03-23T17:41:19Z","merged_at":"2016-03-23T17:41:19Z","merge_commit_sha":"376f3b5828a2a6297ff5954c90878063ea41c574","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3/commits","review_comments_url":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3/comments","review_comment_url":"https://api.github.com/repos/bibletag/bibletagapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bibletag/bibletagapi/issues/3/comments","statuses_url":"https://api.github.com/repos/bibletag/bibletagapi/statuses/56b6bc0fd13fa2265335ad4479976e3a22ef6c07","head":{"label":"raysarebest:api-env","ref":"api-env","sha":"56b6bc0fd13fa2265335ad4479976e3a22ef6c07","user":{"login":"raysarebest","id":7948008,"avatar_url":"https://avatars.githubusercontent.com/u/7948008?v=3","gravatar_id":"","url":"https://api.github.com/users/raysarebest","html_url":"https://github.com/raysarebest","followers_url":"https://api.github.com/users/raysarebest/followers","following_url":"https://api.github.com/users/raysarebest/following{/other_user}","gists_url":"https://api.github.com/users/raysarebest/gists{/gist_id}","starred_url":"https://api.github.com/users/raysarebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysarebest/subscriptions","organizations_url":"https://api.github.com/users/raysarebest/orgs","repos_url":"https://api.github.com/users/raysarebest/repos","events_url":"https://api.github.com/users/raysarebest/events{/privacy}","received_events_url":"https://api.github.com/users/raysarebest/received_events","type":"User","site_admin":false},"repo":{"id":54212314,"name":"bibletagapi","full_name":"raysarebest/bibletagapi","owner":{"login":"raysarebest","id":7948008,"avatar_url":"https://avatars.githubusercontent.com/u/7948008?v=3","gravatar_id":"","url":"https://api.github.com/users/raysarebest","html_url":"https://github.com/raysarebest","followers_url":"https://api.github.com/users/raysarebest/followers","following_url":"https://api.github.com/users/raysarebest/following{/other_user}","gists_url":"https://api.github.com/users/raysarebest/gists{/gist_id}","starred_url":"https://api.github.com/users/raysarebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysarebest/subscriptions","organizations_url":"https://api.github.com/users/raysarebest/orgs","repos_url":"https://api.github.com/users/raysarebest/repos","events_url":"https://api.github.com/users/raysarebest/events{/privacy}","received_events_url":"https://api.github.com/users/raysarebest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raysarebest/bibletagapi","description":"API for storing and serving tag corresponding to scripture verses.","fork":true,"url":"https://api.github.com/repos/raysarebest/bibletagapi","forks_url":"https://api.github.com/repos/raysarebest/bibletagapi/forks","keys_url":"https://api.github.com/repos/raysarebest/bibletagapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raysarebest/bibletagapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raysarebest/bibletagapi/teams","hooks_url":"https://api.github.com/repos/raysarebest/bibletagapi/hooks","issue_events_url":"https://api.github.com/repos/raysarebest/bibletagapi/issues/events{/number}","events_url":"https://api.github.com/repos/raysarebest/bibletagapi/events","assignees_url":"https://api.github.com/repos/raysarebest/bibletagapi/assignees{/user}","branches_url":"https://api.github.com/repos/raysarebest/bibletagapi/branches{/branch}","tags_url":"https://api.github.com/repos/raysarebest/bibletagapi/tags","blobs_url":"https://api.github.com/repos/raysarebest/bibletagapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raysarebest/bibletagapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raysarebest/bibletagapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/raysarebest/bibletagapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raysarebest/bibletagapi/statuses/{sha}","languages_url":"https://api.github.com/repos/raysarebest/bibletagapi/languages","stargazers_url":"https://api.github.com/repos/raysarebest/bibletagapi/stargazers","contributors_url":"https://api.github.com/repos/raysarebest/bibletagapi/contributors","subscribers_url":"https://api.github.com/repos/raysarebest/bibletagapi/subscribers","subscription_url":"https://api.github.com/repos/raysarebest/bibletagapi/subscription","commits_url":"https://api.github.com/repos/raysarebest/bibletagapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/raysarebest/bibletagapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/raysarebest/bibletagapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/raysarebest/bibletagapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/raysarebest/bibletagapi/contents/{+path}","compare_url":"https://api.github.com/repos/raysarebest/bibletagapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raysarebest/bibletagapi/merges","archive_url":"https://api.github.com/repos/raysarebest/bibletagapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raysarebest/bibletagapi/downloads","issues_url":"https://api.github.com/repos/raysarebest/bibletagapi/issues{/number}","pulls_url":"https://api.github.com/repos/raysarebest/bibletagapi/pulls{/number}","milestones_url":"https://api.github.com/repos/raysarebest/bibletagapi/milestones{/number}","notifications_url":"https://api.github.com/repos/raysarebest/bibletagapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raysarebest/bibletagapi/labels{/name}","releases_url":"https://api.github.com/repos/raysarebest/bibletagapi/releases{/id}","deployments_url":"https://api.github.com/repos/raysarebest/bibletagapi/deployments","created_at":"2016-03-18T15:35:15Z","updated_at":"2016-03-18T15:35:16Z","pushed_at":"2016-03-22T18:55:53Z","git_url":"git://github.com/raysarebest/bibletagapi.git","ssh_url":"git@github.com:raysarebest/bibletagapi.git","clone_url":"https://github.com/raysarebest/bibletagapi.git","svn_url":"https://github.com/raysarebest/bibletagapi","homepage":null,"size":367,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"bibletag:master","ref":"master","sha":"eee8c05f23d0ca5f32a700a922e7bc17daf15e7f","user":{"login":"bibletag","id":17793484,"avatar_url":"https://avatars.githubusercontent.com/u/17793484?v=3","gravatar_id":"","url":"https://api.github.com/users/bibletag","html_url":"https://github.com/bibletag","followers_url":"https://api.github.com/users/bibletag/followers","following_url":"https://api.github.com/users/bibletag/following{/other_user}","gists_url":"https://api.github.com/users/bibletag/gists{/gist_id}","starred_url":"https://api.github.com/users/bibletag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibletag/subscriptions","organizations_url":"https://api.github.com/users/bibletag/orgs","repos_url":"https://api.github.com/users/bibletag/repos","events_url":"https://api.github.com/users/bibletag/events{/privacy}","received_events_url":"https://api.github.com/users/bibletag/received_events","type":"Organization","site_admin":false},"repo":{"id":53713178,"name":"bibletagapi","full_name":"bibletag/bibletagapi","owner":{"login":"bibletag","id":17793484,"avatar_url":"https://avatars.githubusercontent.com/u/17793484?v=3","gravatar_id":"","url":"https://api.github.com/users/bibletag","html_url":"https://github.com/bibletag","followers_url":"https://api.github.com/users/bibletag/followers","following_url":"https://api.github.com/users/bibletag/following{/other_user}","gists_url":"https://api.github.com/users/bibletag/gists{/gist_id}","starred_url":"https://api.github.com/users/bibletag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibletag/subscriptions","organizations_url":"https://api.github.com/users/bibletag/orgs","repos_url":"https://api.github.com/users/bibletag/repos","events_url":"https://api.github.com/users/bibletag/events{/privacy}","received_events_url":"https://api.github.com/users/bibletag/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bibletag/bibletagapi","description":"API for storing and serving tag corresponding to scripture verses.","fork":false,"url":"https://api.github.com/repos/bibletag/bibletagapi","forks_url":"https://api.github.com/repos/bibletag/bibletagapi/forks","keys_url":"https://api.github.com/repos/bibletag/bibletagapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bibletag/bibletagapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bibletag/bibletagapi/teams","hooks_url":"https://api.github.com/repos/bibletag/bibletagapi/hooks","issue_events_url":"https://api.github.com/repos/bibletag/bibletagapi/issues/events{/number}","events_url":"https://api.github.com/repos/bibletag/bibletagapi/events","assignees_url":"https://api.github.com/repos/bibletag/bibletagapi/assignees{/user}","branches_url":"https://api.github.com/repos/bibletag/bibletagapi/branches{/branch}","tags_url":"https://api.github.com/repos/bibletag/bibletagapi/tags","blobs_url":"https://api.github.com/repos/bibletag/bibletagapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bibletag/bibletagapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bibletag/bibletagapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/bibletag/bibletagapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bibletag/bibletagapi/statuses/{sha}","languages_url":"https://api.github.com/repos/bibletag/bibletagapi/languages","stargazers_url":"https://api.github.com/repos/bibletag/bibletagapi/stargazers","contributors_url":"https://api.github.com/repos/bibletag/bibletagapi/contributors","subscribers_url":"https://api.github.com/repos/bibletag/bibletagapi/subscribers","subscription_url":"https://api.github.com/repos/bibletag/bibletagapi/subscription","commits_url":"https://api.github.com/repos/bibletag/bibletagapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/bibletag/bibletagapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/bibletag/bibletagapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/bibletag/bibletagapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/bibletag/bibletagapi/contents/{+path}","compare_url":"https://api.github.com/repos/bibletag/bibletagapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bibletag/bibletagapi/merges","archive_url":"https://api.github.com/repos/bibletag/bibletagapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bibletag/bibletagapi/downloads","issues_url":"https://api.github.com/repos/bibletag/bibletagapi/issues{/number}","pulls_url":"https://api.github.com/repos/bibletag/bibletagapi/pulls{/number}","milestones_url":"https://api.github.com/repos/bibletag/bibletagapi/milestones{/number}","notifications_url":"https://api.github.com/repos/bibletag/bibletagapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bibletag/bibletagapi/labels{/name}","releases_url":"https://api.github.com/repos/bibletag/bibletagapi/releases{/id}","deployments_url":"https://api.github.com/repos/bibletag/bibletagapi/deployments","created_at":"2016-03-12T04:22:28Z","updated_at":"2016-03-14T16:37:54Z","pushed_at":"2016-03-23T17:41:19Z","git_url":"git://github.com/bibletag/bibletagapi.git","ssh_url":"git@github.com:bibletag/bibletagapi.git","clone_url":"https://github.com/bibletag/bibletagapi.git","svn_url":"https://github.com/bibletag/bibletagapi","homepage":null,"size":42,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3"},"html":{"href":"https://github.com/bibletag/bibletagapi/pull/3"},"issue":{"href":"https://api.github.com/repos/bibletag/bibletagapi/issues/3"},"comments":{"href":"https://api.github.com/repos/bibletag/bibletagapi/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/bibletag/bibletagapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bibletag/bibletagapi/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/bibletag/bibletagapi/statuses/56b6bc0fd13fa2265335ad4479976e3a22ef6c07"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dwhitena","id":4524535,"avatar_url":"https://avatars.githubusercontent.com/u/4524535?v=3","gravatar_id":"","url":"https://api.github.com/users/dwhitena","html_url":"https://github.com/dwhitena","followers_url":"https://api.github.com/users/dwhitena/followers","following_url":"https://api.github.com/users/dwhitena/following{/other_user}","gists_url":"https://api.github.com/users/dwhitena/gists{/gist_id}","starred_url":"https://api.github.com/users/dwhitena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwhitena/subscriptions","organizations_url":"https://api.github.com/users/dwhitena/orgs","repos_url":"https://api.github.com/users/dwhitena/repos","events_url":"https://api.github.com/users/dwhitena/events{/privacy}","received_events_url":"https://api.github.com/users/dwhitena/received_events","type":"User","site_admin":false},"comments":4,"review_comments":2,"commits":4,"additions":10,"deletions":4,"changed_files":3}}