{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1","id":237803523,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3ODAzNTIz","html_url":"https://github.com/Oupsla/node-hubspot/pull/1","diff_url":"https://github.com/Oupsla/node-hubspot/pull/1.diff","patch_url":"https://github.com/Oupsla/node-hubspot/pull/1.patch","issue_url":"https://api.github.com/repos/Oupsla/node-hubspot/issues/1","number":1,"state":"open","locked":false,"title":"Introduce dotenv for running tests","user":{"login":"MattMSumner","id":759721,"node_id":"MDQ6VXNlcjc1OTcyMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/759721?v=4","gravatar_id":"","url":"https://api.github.com/users/MattMSumner","html_url":"https://github.com/MattMSumner","followers_url":"https://api.github.com/users/MattMSumner/followers","following_url":"https://api.github.com/users/MattMSumner/following{/other_user}","gists_url":"https://api.github.com/users/MattMSumner/gists{/gist_id}","starred_url":"https://api.github.com/users/MattMSumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattMSumner/subscriptions","organizations_url":"https://api.github.com/users/MattMSumner/orgs","repos_url":"https://api.github.com/users/MattMSumner/repos","events_url":"https://api.github.com/users/MattMSumner/events{/privacy}","received_events_url":"https://api.github.com/users/MattMSumner/received_events","type":"User","site_admin":false},"body":"This introduces DotEnv to more easily run the tests with environment variables. This also gets the first timeline test passing using nock.\r\n\r\nTo turn off nock and hit the real api in the test, first create a `.env` file locally that looks like:\r\n\r\n```\r\nAPPLICATION_ID=123456 # The ID of the OAuth app you're creating the event type for.\r\nUSER_ID=1234567 # Your HubSpot user ID. This can be found in the same place as your Developer HAPIkey in your Developer portal.\r\nACCESS_TOKEN=\"some-long-token\" # This can be generated following the instructions found here https://github.com/HubSpot/oauth-quickstart-nodejs\r\n```","created_at":"2018-12-11T19:41:20Z","updated_at":"2018-12-11T19:41:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Oupsla/node-hubspot/issues/1/comments","statuses_url":"https://api.github.com/repos/Oupsla/node-hubspot/statuses/7d4a24a93a089f8ddd8b8b07946b34f7fa18dbda","head":{"label":"MadKudu:feat/timelineAPI","ref":"feat/timelineAPI","sha":"7d4a24a93a089f8ddd8b8b07946b34f7fa18dbda","user":{"login":"MadKudu","id":11508076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MDc2","avatar_url":"https://avatars2.githubusercontent.com/u/11508076?v=4","gravatar_id":"","url":"https://api.github.com/users/MadKudu","html_url":"https://github.com/MadKudu","followers_url":"https://api.github.com/users/MadKudu/followers","following_url":"https://api.github.com/users/MadKudu/following{/other_user}","gists_url":"https://api.github.com/users/MadKudu/gists{/gist_id}","starred_url":"https://api.github.com/users/MadKudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadKudu/subscriptions","organizations_url":"https://api.github.com/users/MadKudu/orgs","repos_url":"https://api.github.com/users/MadKudu/repos","events_url":"https://api.github.com/users/MadKudu/events{/privacy}","received_events_url":"https://api.github.com/users/MadKudu/received_events","type":"Organization","site_admin":false},"repo":{"id":15910832,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkxMDgzMg==","name":"node-hubspot","full_name":"MadKudu/node-hubspot","private":false,"owner":{"login":"MadKudu","id":11508076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MDc2","avatar_url":"https://avatars2.githubusercontent.com/u/11508076?v=4","gravatar_id":"","url":"https://api.github.com/users/MadKudu","html_url":"https://github.com/MadKudu","followers_url":"https://api.github.com/users/MadKudu/followers","following_url":"https://api.github.com/users/MadKudu/following{/other_user}","gists_url":"https://api.github.com/users/MadKudu/gists{/gist_id}","starred_url":"https://api.github.com/users/MadKudu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadKudu/subscriptions","organizations_url":"https://api.github.com/users/MadKudu/orgs","repos_url":"https://api.github.com/users/MadKudu/repos","events_url":"https://api.github.com/users/MadKudu/events{/privacy}","received_events_url":"https://api.github.com/users/MadKudu/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MadKudu/node-hubspot","description":"Node wrapper for the HubSpot API","fork":false,"url":"https://api.github.com/repos/MadKudu/node-hubspot","forks_url":"https://api.github.com/repos/MadKudu/node-hubspot/forks","keys_url":"https://api.github.com/repos/MadKudu/node-hubspot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MadKudu/node-hubspot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MadKudu/node-hubspot/teams","hooks_url":"https://api.github.com/repos/MadKudu/node-hubspot/hooks","issue_events_url":"https://api.github.com/repos/MadKudu/node-hubspot/issues/events{/number}","events_url":"https://api.github.com/repos/MadKudu/node-hubspot/events","assignees_url":"https://api.github.com/repos/MadKudu/node-hubspot/assignees{/user}","branches_url":"https://api.github.com/repos/MadKudu/node-hubspot/branches{/branch}","tags_url":"https://api.github.com/repos/MadKudu/node-hubspot/tags","blobs_url":"https://api.github.com/repos/MadKudu/node-hubspot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MadKudu/node-hubspot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MadKudu/node-hubspot/git/refs{/sha}","trees_url":"https://api.github.com/repos/MadKudu/node-hubspot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MadKudu/node-hubspot/statuses/{sha}","languages_url":"https://api.github.com/repos/MadKudu/node-hubspot/languages","stargazers_url":"https://api.github.com/repos/MadKudu/node-hubspot/stargazers","contributors_url":"https://api.github.com/repos/MadKudu/node-hubspot/contributors","subscribers_url":"https://api.github.com/repos/MadKudu/node-hubspot/subscribers","subscription_url":"https://api.github.com/repos/MadKudu/node-hubspot/subscription","commits_url":"https://api.github.com/repos/MadKudu/node-hubspot/commits{/sha}","git_commits_url":"https://api.github.com/repos/MadKudu/node-hubspot/git/commits{/sha}","comments_url":"https://api.github.com/repos/MadKudu/node-hubspot/comments{/number}","issue_comment_url":"https://api.github.com/repos/MadKudu/node-hubspot/issues/comments{/number}","contents_url":"https://api.github.com/repos/MadKudu/node-hubspot/contents/{+path}","compare_url":"https://api.github.com/repos/MadKudu/node-hubspot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MadKudu/node-hubspot/merges","archive_url":"https://api.github.com/repos/MadKudu/node-hubspot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MadKudu/node-hubspot/downloads","issues_url":"https://api.github.com/repos/MadKudu/node-hubspot/issues{/number}","pulls_url":"https://api.github.com/repos/MadKudu/node-hubspot/pulls{/number}","milestones_url":"https://api.github.com/repos/MadKudu/node-hubspot/milestones{/number}","notifications_url":"https://api.github.com/repos/MadKudu/node-hubspot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MadKudu/node-hubspot/labels{/name}","releases_url":"https://api.github.com/repos/MadKudu/node-hubspot/releases{/id}","deployments_url":"https://api.github.com/repos/MadKudu/node-hubspot/deployments","created_at":"2014-01-14T18:13:16Z","updated_at":"2018-12-10T21:29:24Z","pushed_at":"2018-12-11T19:32:48Z","git_url":"git://github.com/MadKudu/node-hubspot.git","ssh_url":"git@github.com:MadKudu/node-hubspot.git","clone_url":"https://github.com/MadKudu/node-hubspot.git","svn_url":"https://github.com/MadKudu/node-hubspot","homepage":null,"size":368,"stargazers_count":58,"watchers_count":58,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":79,"open_issues":23,"watchers":58,"default_branch":"master"}},"base":{"label":"Oupsla:feat/timelineAPI","ref":"feat/timelineAPI","sha":"7c8f586be814dd0c0fb4dbaf2f1a25a507e1721b","user":{"login":"Oupsla","id":15279620,"node_id":"MDQ6VXNlcjE1Mjc5NjIw","avatar_url":"https://avatars3.githubusercontent.com/u/15279620?v=4","gravatar_id":"","url":"https://api.github.com/users/Oupsla","html_url":"https://github.com/Oupsla","followers_url":"https://api.github.com/users/Oupsla/followers","following_url":"https://api.github.com/users/Oupsla/following{/other_user}","gists_url":"https://api.github.com/users/Oupsla/gists{/gist_id}","starred_url":"https://api.github.com/users/Oupsla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oupsla/subscriptions","organizations_url":"https://api.github.com/users/Oupsla/orgs","repos_url":"https://api.github.com/users/Oupsla/repos","events_url":"https://api.github.com/users/Oupsla/events{/privacy}","received_events_url":"https://api.github.com/users/Oupsla/received_events","type":"User","site_admin":false},"repo":{"id":135466049,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0NjYwNDk=","name":"node-hubspot","full_name":"Oupsla/node-hubspot","private":false,"owner":{"login":"Oupsla","id":15279620,"node_id":"MDQ6VXNlcjE1Mjc5NjIw","avatar_url":"https://avatars3.githubusercontent.com/u/15279620?v=4","gravatar_id":"","url":"https://api.github.com/users/Oupsla","html_url":"https://github.com/Oupsla","followers_url":"https://api.github.com/users/Oupsla/followers","following_url":"https://api.github.com/users/Oupsla/following{/other_user}","gists_url":"https://api.github.com/users/Oupsla/gists{/gist_id}","starred_url":"https://api.github.com/users/Oupsla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oupsla/subscriptions","organizations_url":"https://api.github.com/users/Oupsla/orgs","repos_url":"https://api.github.com/users/Oupsla/repos","events_url":"https://api.github.com/users/Oupsla/events{/privacy}","received_events_url":"https://api.github.com/users/Oupsla/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Oupsla/node-hubspot","description":"Node wrapper for the HubSpot API","fork":true,"url":"https://api.github.com/repos/Oupsla/node-hubspot","forks_url":"https://api.github.com/repos/Oupsla/node-hubspot/forks","keys_url":"https://api.github.com/repos/Oupsla/node-hubspot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Oupsla/node-hubspot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Oupsla/node-hubspot/teams","hooks_url":"https://api.github.com/repos/Oupsla/node-hubspot/hooks","issue_events_url":"https://api.github.com/repos/Oupsla/node-hubspot/issues/events{/number}","events_url":"https://api.github.com/repos/Oupsla/node-hubspot/events","assignees_url":"https://api.github.com/repos/Oupsla/node-hubspot/assignees{/user}","branches_url":"https://api.github.com/repos/Oupsla/node-hubspot/branches{/branch}","tags_url":"https://api.github.com/repos/Oupsla/node-hubspot/tags","blobs_url":"https://api.github.com/repos/Oupsla/node-hubspot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Oupsla/node-hubspot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Oupsla/node-hubspot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Oupsla/node-hubspot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Oupsla/node-hubspot/statuses/{sha}","languages_url":"https://api.github.com/repos/Oupsla/node-hubspot/languages","stargazers_url":"https://api.github.com/repos/Oupsla/node-hubspot/stargazers","contributors_url":"https://api.github.com/repos/Oupsla/node-hubspot/contributors","subscribers_url":"https://api.github.com/repos/Oupsla/node-hubspot/subscribers","subscription_url":"https://api.github.com/repos/Oupsla/node-hubspot/subscription","commits_url":"https://api.github.com/repos/Oupsla/node-hubspot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Oupsla/node-hubspot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Oupsla/node-hubspot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Oupsla/node-hubspot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Oupsla/node-hubspot/contents/{+path}","compare_url":"https://api.github.com/repos/Oupsla/node-hubspot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Oupsla/node-hubspot/merges","archive_url":"https://api.github.com/repos/Oupsla/node-hubspot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Oupsla/node-hubspot/downloads","issues_url":"https://api.github.com/repos/Oupsla/node-hubspot/issues{/number}","pulls_url":"https://api.github.com/repos/Oupsla/node-hubspot/pulls{/number}","milestones_url":"https://api.github.com/repos/Oupsla/node-hubspot/milestones{/number}","notifications_url":"https://api.github.com/repos/Oupsla/node-hubspot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Oupsla/node-hubspot/labels{/name}","releases_url":"https://api.github.com/repos/Oupsla/node-hubspot/releases{/id}","deployments_url":"https://api.github.com/repos/Oupsla/node-hubspot/deployments","created_at":"2018-05-30T15:54:42Z","updated_at":"2018-12-11T06:20:42Z","pushed_at":"2018-12-11T07:15:12Z","git_url":"git://github.com/Oupsla/node-hubspot.git","ssh_url":"git@github.com:Oupsla/node-hubspot.git","clone_url":"https://github.com/Oupsla/node-hubspot.git","svn_url":"https://github.com/Oupsla/node-hubspot","homepage":null,"size":372,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1"},"html":{"href":"https://github.com/Oupsla/node-hubspot/pull/1"},"issue":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/issues/1"},"comments":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Oupsla/node-hubspot/statuses/7d4a24a93a089f8ddd8b8b07946b34f7fa18dbda"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":54,"deletions":48,"changed_files":7}}
{"actor":{"display_login":"MattMSumner"}}