{"action":"created","issue":{"url":"https://api.github.com/repos/rstats-db/bigrquery/issues/49","labels_url":"https://api.github.com/repos/rstats-db/bigrquery/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/rstats-db/bigrquery/issues/49/comments","events_url":"https://api.github.com/repos/rstats-db/bigrquery/issues/49/events","html_url":"https://github.com/rstats-db/bigrquery/pull/49","id":71900807,"number":49,"title":"Add support for reading API keys from an env var.","user":{"login":"craigcitro","id":468559,"avatar_url":"https://avatars.githubusercontent.com/u/468559?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcitro","html_url":"https://github.com/craigcitro","followers_url":"https://api.github.com/users/craigcitro/followers","following_url":"https://api.github.com/users/craigcitro/following{/other_user}","gists_url":"https://api.github.com/users/craigcitro/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcitro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcitro/subscriptions","organizations_url":"https://api.github.com/users/craigcitro/orgs","repos_url":"https://api.github.com/users/craigcitro/repos","events_url":"https://api.github.com/users/craigcitro/events{/privacy}","received_events_url":"https://api.github.com/users/craigcitro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-29T15:09:25Z","updated_at":"2016-01-05T12:28:32Z","closed_at":"2015-04-29T18:45:15Z","pull_request":{"url":"https://api.github.com/repos/rstats-db/bigrquery/pulls/49","html_url":"https://github.com/rstats-db/bigrquery/pull/49","diff_url":"https://github.com/rstats-db/bigrquery/pull/49.diff","patch_url":"https://github.com/rstats-db/bigrquery/pull/49.patch"},"body":"This adds support for API keys to bigrquery, reading them from the\r\n`BIGRQUERY_API_KEY` environment variable. They're used in all API calls when\r\npresent.\r\n\r\nPTAL @hadley "},"comment":{"url":"https://api.github.com/repos/rstats-db/bigrquery/issues/comments/168986234","html_url":"https://github.com/rstats-db/bigrquery/pull/49#issuecomment-168986234","issue_url":"https://api.github.com/repos/rstats-db/bigrquery/issues/49","id":168986234,"user":{"login":"AspireToCodeBetter","id":1036163,"avatar_url":"https://avatars.githubusercontent.com/u/1036163?v=3","gravatar_id":"","url":"https://api.github.com/users/AspireToCodeBetter","html_url":"https://github.com/AspireToCodeBetter","followers_url":"https://api.github.com/users/AspireToCodeBetter/followers","following_url":"https://api.github.com/users/AspireToCodeBetter/following{/other_user}","gists_url":"https://api.github.com/users/AspireToCodeBetter/gists{/gist_id}","starred_url":"https://api.github.com/users/AspireToCodeBetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AspireToCodeBetter/subscriptions","organizations_url":"https://api.github.com/users/AspireToCodeBetter/orgs","repos_url":"https://api.github.com/users/AspireToCodeBetter/repos","events_url":"https://api.github.com/users/AspireToCodeBetter/events{/privacy}","received_events_url":"https://api.github.com/users/AspireToCodeBetter/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T12:28:32Z","updated_at":"2016-01-05T12:28:32Z","body":"@craigcitro is this been merged? for some reason i am unable to use big query and it still asks for browser authentication.\r\n\r\nI am setting the env variable as below.\r\n\r\n```r\r\nSys.setenv(BIGRQUERY_API_KEY=\"TuxYqUc3eVzkllXnMHbk2iIZSp6wZASkj9nNsDkyX\")\r\n```\r\n"}}