{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2","id":169430807,"html_url":"https://github.com/jpetrucciani/hubspot3/pull/2","diff_url":"https://github.com/jpetrucciani/hubspot3/pull/2.diff","patch_url":"https://github.com/jpetrucciani/hubspot3/pull/2.patch","issue_url":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/2","number":2,"state":"closed","locked":false,"title":"Implement get() and get_associated() methods for Engagements","user":{"login":"ArtemGordinsky","id":1506254,"avatar_url":"https://avatars2.githubusercontent.com/u/1506254?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemGordinsky","html_url":"https://github.com/ArtemGordinsky","followers_url":"https://api.github.com/users/ArtemGordinsky/followers","following_url":"https://api.github.com/users/ArtemGordinsky/following{/other_user}","gists_url":"https://api.github.com/users/ArtemGordinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemGordinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemGordinsky/subscriptions","organizations_url":"https://api.github.com/users/ArtemGordinsky/orgs","repos_url":"https://api.github.com/users/ArtemGordinsky/repos","events_url":"https://api.github.com/users/ArtemGordinsky/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemGordinsky/received_events","type":"User","site_admin":false},"body":"Implemented a couple more methods I needed for my use-case. Hopefully could be useful for others as well.","created_at":"2018-02-15T17:08:26Z","updated_at":"2018-02-15T17:09:28Z","closed_at":"2018-02-15T17:09:28Z","merged_at":"2018-02-15T17:09:28Z","merge_commit_sha":"fd99d78a27a3e5559ee208fd8f18727f297c8253","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/2/comments","statuses_url":"https://api.github.com/repos/jpetrucciani/hubspot3/statuses/bedeba64419934c0756f53de8c42156c39d6acd4","head":{"label":"ArtemGordinsky:adding-engagements-get","ref":"adding-engagements-get","sha":"bedeba64419934c0756f53de8c42156c39d6acd4","user":{"login":"ArtemGordinsky","id":1506254,"avatar_url":"https://avatars2.githubusercontent.com/u/1506254?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemGordinsky","html_url":"https://github.com/ArtemGordinsky","followers_url":"https://api.github.com/users/ArtemGordinsky/followers","following_url":"https://api.github.com/users/ArtemGordinsky/following{/other_user}","gists_url":"https://api.github.com/users/ArtemGordinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemGordinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemGordinsky/subscriptions","organizations_url":"https://api.github.com/users/ArtemGordinsky/orgs","repos_url":"https://api.github.com/users/ArtemGordinsky/repos","events_url":"https://api.github.com/users/ArtemGordinsky/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemGordinsky/received_events","type":"User","site_admin":false},"repo":{"id":121499855,"name":"hubspot3","full_name":"ArtemGordinsky/hubspot3","owner":{"login":"ArtemGordinsky","id":1506254,"avatar_url":"https://avatars2.githubusercontent.com/u/1506254?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemGordinsky","html_url":"https://github.com/ArtemGordinsky","followers_url":"https://api.github.com/users/ArtemGordinsky/followers","following_url":"https://api.github.com/users/ArtemGordinsky/following{/other_user}","gists_url":"https://api.github.com/users/ArtemGordinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemGordinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemGordinsky/subscriptions","organizations_url":"https://api.github.com/users/ArtemGordinsky/orgs","repos_url":"https://api.github.com/users/ArtemGordinsky/repos","events_url":"https://api.github.com/users/ArtemGordinsky/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemGordinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ArtemGordinsky/hubspot3","description":"python3 hubspot client based on hapipy, but heavily modified to use the newer endpoints and non-legacy python","fork":true,"url":"https://api.github.com/repos/ArtemGordinsky/hubspot3","forks_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/forks","keys_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/teams","hooks_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/hooks","issue_events_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/issues/events{/number}","events_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/events","assignees_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/assignees{/user}","branches_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/branches{/branch}","tags_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/tags","blobs_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/statuses/{sha}","languages_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/languages","stargazers_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/stargazers","contributors_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/contributors","subscribers_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/subscribers","subscription_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/subscription","commits_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/contents/{+path}","compare_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/merges","archive_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/downloads","issues_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/issues{/number}","pulls_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/pulls{/number}","milestones_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/milestones{/number}","notifications_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/labels{/name}","releases_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/releases{/id}","deployments_url":"https://api.github.com/repos/ArtemGordinsky/hubspot3/deployments","created_at":"2018-02-14T10:48:46Z","updated_at":"2018-02-14T10:48:47Z","pushed_at":"2018-02-15T17:06:31Z","git_url":"git://github.com/ArtemGordinsky/hubspot3.git","ssh_url":"git@github.com:ArtemGordinsky/hubspot3.git","clone_url":"https://github.com/ArtemGordinsky/hubspot3.git","svn_url":"https://github.com/ArtemGordinsky/hubspot3","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Python","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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jpetrucciani:master","ref":"master","sha":"93aae59cccdaf92f110b60e151434bf6bd4406e9","user":{"login":"jpetrucciani","id":8117202,"avatar_url":"https://avatars3.githubusercontent.com/u/8117202?v=4","gravatar_id":"","url":"https://api.github.com/users/jpetrucciani","html_url":"https://github.com/jpetrucciani","followers_url":"https://api.github.com/users/jpetrucciani/followers","following_url":"https://api.github.com/users/jpetrucciani/following{/other_user}","gists_url":"https://api.github.com/users/jpetrucciani/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetrucciani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetrucciani/subscriptions","organizations_url":"https://api.github.com/users/jpetrucciani/orgs","repos_url":"https://api.github.com/users/jpetrucciani/repos","events_url":"https://api.github.com/users/jpetrucciani/events{/privacy}","received_events_url":"https://api.github.com/users/jpetrucciani/received_events","type":"User","site_admin":false},"repo":{"id":88071177,"name":"hubspot3","full_name":"jpetrucciani/hubspot3","owner":{"login":"jpetrucciani","id":8117202,"avatar_url":"https://avatars3.githubusercontent.com/u/8117202?v=4","gravatar_id":"","url":"https://api.github.com/users/jpetrucciani","html_url":"https://github.com/jpetrucciani","followers_url":"https://api.github.com/users/jpetrucciani/followers","following_url":"https://api.github.com/users/jpetrucciani/following{/other_user}","gists_url":"https://api.github.com/users/jpetrucciani/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetrucciani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetrucciani/subscriptions","organizations_url":"https://api.github.com/users/jpetrucciani/orgs","repos_url":"https://api.github.com/users/jpetrucciani/repos","events_url":"https://api.github.com/users/jpetrucciani/events{/privacy}","received_events_url":"https://api.github.com/users/jpetrucciani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jpetrucciani/hubspot3","description":"python3 hubspot client based on hapipy, but heavily modified to use the newer endpoints and non-legacy python","fork":false,"url":"https://api.github.com/repos/jpetrucciani/hubspot3","forks_url":"https://api.github.com/repos/jpetrucciani/hubspot3/forks","keys_url":"https://api.github.com/repos/jpetrucciani/hubspot3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jpetrucciani/hubspot3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jpetrucciani/hubspot3/teams","hooks_url":"https://api.github.com/repos/jpetrucciani/hubspot3/hooks","issue_events_url":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/events{/number}","events_url":"https://api.github.com/repos/jpetrucciani/hubspot3/events","assignees_url":"https://api.github.com/repos/jpetrucciani/hubspot3/assignees{/user}","branches_url":"https://api.github.com/repos/jpetrucciani/hubspot3/branches{/branch}","tags_url":"https://api.github.com/repos/jpetrucciani/hubspot3/tags","blobs_url":"https://api.github.com/repos/jpetrucciani/hubspot3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jpetrucciani/hubspot3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jpetrucciani/hubspot3/git/refs{/sha}","trees_url":"https://api.github.com/repos/jpetrucciani/hubspot3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jpetrucciani/hubspot3/statuses/{sha}","languages_url":"https://api.github.com/repos/jpetrucciani/hubspot3/languages","stargazers_url":"https://api.github.com/repos/jpetrucciani/hubspot3/stargazers","contributors_url":"https://api.github.com/repos/jpetrucciani/hubspot3/contributors","subscribers_url":"https://api.github.com/repos/jpetrucciani/hubspot3/subscribers","subscription_url":"https://api.github.com/repos/jpetrucciani/hubspot3/subscription","commits_url":"https://api.github.com/repos/jpetrucciani/hubspot3/commits{/sha}","git_commits_url":"https://api.github.com/repos/jpetrucciani/hubspot3/git/commits{/sha}","comments_url":"https://api.github.com/repos/jpetrucciani/hubspot3/comments{/number}","issue_comment_url":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/comments{/number}","contents_url":"https://api.github.com/repos/jpetrucciani/hubspot3/contents/{+path}","compare_url":"https://api.github.com/repos/jpetrucciani/hubspot3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jpetrucciani/hubspot3/merges","archive_url":"https://api.github.com/repos/jpetrucciani/hubspot3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jpetrucciani/hubspot3/downloads","issues_url":"https://api.github.com/repos/jpetrucciani/hubspot3/issues{/number}","pulls_url":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls{/number}","milestones_url":"https://api.github.com/repos/jpetrucciani/hubspot3/milestones{/number}","notifications_url":"https://api.github.com/repos/jpetrucciani/hubspot3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jpetrucciani/hubspot3/labels{/name}","releases_url":"https://api.github.com/repos/jpetrucciani/hubspot3/releases{/id}","deployments_url":"https://api.github.com/repos/jpetrucciani/hubspot3/deployments","created_at":"2017-04-12T16:03:05Z","updated_at":"2018-02-14T14:37:45Z","pushed_at":"2018-02-15T17:09:28Z","git_url":"git://github.com/jpetrucciani/hubspot3.git","ssh_url":"git@github.com:jpetrucciani/hubspot3.git","clone_url":"https://github.com/jpetrucciani/hubspot3.git","svn_url":"https://github.com/jpetrucciani/hubspot3","homepage":null,"size":42,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2"},"html":{"href":"https://github.com/jpetrucciani/hubspot3/pull/2"},"issue":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/2"},"comments":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jpetrucciani/hubspot3/statuses/bedeba64419934c0756f53de8c42156c39d6acd4"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jpetrucciani","id":8117202,"avatar_url":"https://avatars3.githubusercontent.com/u/8117202?v=4","gravatar_id":"","url":"https://api.github.com/users/jpetrucciani","html_url":"https://github.com/jpetrucciani","followers_url":"https://api.github.com/users/jpetrucciani/followers","following_url":"https://api.github.com/users/jpetrucciani/following{/other_user}","gists_url":"https://api.github.com/users/jpetrucciani/gists{/gist_id}","starred_url":"https://api.github.com/users/jpetrucciani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpetrucciani/subscriptions","organizations_url":"https://api.github.com/users/jpetrucciani/orgs","repos_url":"https://api.github.com/users/jpetrucciani/repos","events_url":"https://api.github.com/users/jpetrucciani/events{/privacy}","received_events_url":"https://api.github.com/users/jpetrucciani/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jpetrucciani"}}