Skip to content

Instantly share code, notes, and snippets.

@jamielennox
Created December 9, 2016 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamielennox/6effeff95895166f5950d4c921ae6985 to your computer and use it in GitHub Desktop.
Save jamielennox/6effeff95895166f5950d4c921ae6985 to your computer and use it in GitHub Desktop.
body = """
{
"action": "opened",
"number": 13,
"pull_request": {
"url": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13",
"id": 97212551,
"html_url": "https://github.com/BonnyCI/sandbox/pull/13",
"diff_url": "https://github.com/BonnyCI/sandbox/pull/13.diff",
"patch_url": "https://github.com/BonnyCI/sandbox/pull/13.patch",
"issue_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/13",
"number": 13,
"state": "open",
"locked": false,
"title": "Foo",
"user": {
"login": "gandelman-a",
"id": 274055,
"avatar_url": "https://avatars.githubusercontent.com/u/274055?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/gandelman-a",
"html_url": "https://github.com/gandelman-a",
"followers_url": "https://api.github.com/users/gandelman-a/followers",
"following_url": "https://api.github.com/users/gandelman-a/following{/other_user}",
"gists_url": "https://api.github.com/users/gandelman-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gandelman-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gandelman-a/subscriptions",
"organizations_url": "https://api.github.com/users/gandelman-a/orgs",
"repos_url": "https://api.github.com/users/gandelman-a/repos",
"events_url": "https://api.github.com/users/gandelman-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/gandelman-a/received_events",
"type": "User",
"site_admin": false
},
"body": "",
"created_at": "2016-12-08T22:20:19Z",
"updated_at": "2016-12-08T22:20:19Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": "81582f5f83a6c666bda150cf88e2983cf5432a6d",
"assignee": null,
"assignees": [
],
"milestone": null,
"commits_url": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13/commits",
"review_comments_url": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13/comments",
"review_comment_url": "https://api.github.com/repos/BonnyCI/sandbox/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/13/comments",
"statuses_url": "https://api.github.com/repos/BonnyCI/sandbox/statuses/c69ced53dc189cd86e40bdb71903936e7ea3a942",
"head": {
"label": "gandelman-a:foo",
"ref": "foo",
"sha": "c69ced53dc189cd86e40bdb71903936e7ea3a942",
"user": {
"login": "gandelman-a",
"id": 274055,
"avatar_url": "https://avatars.githubusercontent.com/u/274055?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/gandelman-a",
"html_url": "https://github.com/gandelman-a",
"followers_url": "https://api.github.com/users/gandelman-a/followers",
"following_url": "https://api.github.com/users/gandelman-a/following{/other_user}",
"gists_url": "https://api.github.com/users/gandelman-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gandelman-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gandelman-a/subscriptions",
"organizations_url": "https://api.github.com/users/gandelman-a/orgs",
"repos_url": "https://api.github.com/users/gandelman-a/repos",
"events_url": "https://api.github.com/users/gandelman-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/gandelman-a/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 75768984,
"name": "sandbox",
"full_name": "gandelman-a/sandbox",
"owner": {
"login": "gandelman-a",
"id": 274055,
"avatar_url": "https://avatars.githubusercontent.com/u/274055?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/gandelman-a",
"html_url": "https://github.com/gandelman-a",
"followers_url": "https://api.github.com/users/gandelman-a/followers",
"following_url": "https://api.github.com/users/gandelman-a/following{/other_user}",
"gists_url": "https://api.github.com/users/gandelman-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gandelman-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gandelman-a/subscriptions",
"organizations_url": "https://api.github.com/users/gandelman-a/orgs",
"repos_url": "https://api.github.com/users/gandelman-a/repos",
"events_url": "https://api.github.com/users/gandelman-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/gandelman-a/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/gandelman-a/sandbox",
"description": "Party Mode Activate",
"fork": true,
"url": "https://api.github.com/repos/gandelman-a/sandbox",
"forks_url": "https://api.github.com/repos/gandelman-a/sandbox/forks",
"keys_url": "https://api.github.com/repos/gandelman-a/sandbox/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/gandelman-a/sandbox/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/gandelman-a/sandbox/teams",
"hooks_url": "https://api.github.com/repos/gandelman-a/sandbox/hooks",
"issue_events_url": "https://api.github.com/repos/gandelman-a/sandbox/issues/events{/number}",
"events_url": "https://api.github.com/repos/gandelman-a/sandbox/events",
"assignees_url": "https://api.github.com/repos/gandelman-a/sandbox/assignees{/user}",
"branches_url": "https://api.github.com/repos/gandelman-a/sandbox/branches{/branch}",
"tags_url": "https://api.github.com/repos/gandelman-a/sandbox/tags",
"blobs_url": "https://api.github.com/repos/gandelman-a/sandbox/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/gandelman-a/sandbox/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/gandelman-a/sandbox/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/gandelman-a/sandbox/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/gandelman-a/sandbox/statuses/{sha}",
"languages_url": "https://api.github.com/repos/gandelman-a/sandbox/languages",
"stargazers_url": "https://api.github.com/repos/gandelman-a/sandbox/stargazers",
"contributors_url": "https://api.github.com/repos/gandelman-a/sandbox/contributors",
"subscribers_url": "https://api.github.com/repos/gandelman-a/sandbox/subscribers",
"subscription_url": "https://api.github.com/repos/gandelman-a/sandbox/subscription",
"commits_url": "https://api.github.com/repos/gandelman-a/sandbox/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/gandelman-a/sandbox/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/gandelman-a/sandbox/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/gandelman-a/sandbox/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/gandelman-a/sandbox/contents/{+path}",
"compare_url": "https://api.github.com/repos/gandelman-a/sandbox/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/gandelman-a/sandbox/merges",
"archive_url": "https://api.github.com/repos/gandelman-a/sandbox/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/gandelman-a/sandbox/downloads",
"issues_url": "https://api.github.com/repos/gandelman-a/sandbox/issues{/number}",
"pulls_url": "https://api.github.com/repos/gandelman-a/sandbox/pulls{/number}",
"milestones_url": "https://api.github.com/repos/gandelman-a/sandbox/milestones{/number}",
"notifications_url": "https://api.github.com/repos/gandelman-a/sandbox/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/gandelman-a/sandbox/labels{/name}",
"releases_url": "https://api.github.com/repos/gandelman-a/sandbox/releases{/id}",
"deployments_url": "https://api.github.com/repos/gandelman-a/sandbox/deployments",
"created_at": "2016-12-06T20:34:02Z",
"updated_at": "2016-12-06T20:34:03Z",
"pushed_at": "2016-12-08T22:16:00Z",
"git_url": "git://github.com/gandelman-a/sandbox.git",
"ssh_url": "git@github.com:gandelman-a/sandbox.git",
"clone_url": "https://github.com/gandelman-a/sandbox.git",
"svn_url": "https://github.com/gandelman-a/sandbox",
"homepage": "",
"size": 166,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Python",
"has_issues": false,
"has_downloads": false,
"has_wiki": false,
"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": "BonnyCI:master",
"ref": "master",
"sha": "04f973d72eaf7b2e48a9ac8c5460d7cd84a3e95a",
"user": {
"login": "BonnyCI",
"id": 23387923,
"avatar_url": "https://avatars.githubusercontent.com/u/23387923?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/BonnyCI",
"html_url": "https://github.com/BonnyCI",
"followers_url": "https://api.github.com/users/BonnyCI/followers",
"following_url": "https://api.github.com/users/BonnyCI/following{/other_user}",
"gists_url": "https://api.github.com/users/BonnyCI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BonnyCI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BonnyCI/subscriptions",
"organizations_url": "https://api.github.com/users/BonnyCI/orgs",
"repos_url": "https://api.github.com/users/BonnyCI/repos",
"events_url": "https://api.github.com/users/BonnyCI/events{/privacy}",
"received_events_url": "https://api.github.com/users/BonnyCI/received_events",
"type": "Organization",
"site_admin": false
},
"repo": {
"id": 74619685,
"name": "sandbox",
"full_name": "BonnyCI/sandbox",
"owner": {
"login": "BonnyCI",
"id": 23387923,
"avatar_url": "https://avatars.githubusercontent.com/u/23387923?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/BonnyCI",
"html_url": "https://github.com/BonnyCI",
"followers_url": "https://api.github.com/users/BonnyCI/followers",
"following_url": "https://api.github.com/users/BonnyCI/following{/other_user}",
"gists_url": "https://api.github.com/users/BonnyCI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BonnyCI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BonnyCI/subscriptions",
"organizations_url": "https://api.github.com/users/BonnyCI/orgs",
"repos_url": "https://api.github.com/users/BonnyCI/repos",
"events_url": "https://api.github.com/users/BonnyCI/events{/privacy}",
"received_events_url": "https://api.github.com/users/BonnyCI/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/BonnyCI/sandbox",
"description": "Party Mode Activate",
"fork": true,
"url": "https://api.github.com/repos/BonnyCI/sandbox",
"forks_url": "https://api.github.com/repos/BonnyCI/sandbox/forks",
"keys_url": "https://api.github.com/repos/BonnyCI/sandbox/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/BonnyCI/sandbox/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/BonnyCI/sandbox/teams",
"hooks_url": "https://api.github.com/repos/BonnyCI/sandbox/hooks",
"issue_events_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/events{/number}",
"events_url": "https://api.github.com/repos/BonnyCI/sandbox/events",
"assignees_url": "https://api.github.com/repos/BonnyCI/sandbox/assignees{/user}",
"branches_url": "https://api.github.com/repos/BonnyCI/sandbox/branches{/branch}",
"tags_url": "https://api.github.com/repos/BonnyCI/sandbox/tags",
"blobs_url": "https://api.github.com/repos/BonnyCI/sandbox/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/BonnyCI/sandbox/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/BonnyCI/sandbox/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/BonnyCI/sandbox/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/BonnyCI/sandbox/statuses/{sha}",
"languages_url": "https://api.github.com/repos/BonnyCI/sandbox/languages",
"stargazers_url": "https://api.github.com/repos/BonnyCI/sandbox/stargazers",
"contributors_url": "https://api.github.com/repos/BonnyCI/sandbox/contributors",
"subscribers_url": "https://api.github.com/repos/BonnyCI/sandbox/subscribers",
"subscription_url": "https://api.github.com/repos/BonnyCI/sandbox/subscription",
"commits_url": "https://api.github.com/repos/BonnyCI/sandbox/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/BonnyCI/sandbox/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/BonnyCI/sandbox/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/BonnyCI/sandbox/contents/{+path}",
"compare_url": "https://api.github.com/repos/BonnyCI/sandbox/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/BonnyCI/sandbox/merges",
"archive_url": "https://api.github.com/repos/BonnyCI/sandbox/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/BonnyCI/sandbox/downloads",
"issues_url": "https://api.github.com/repos/BonnyCI/sandbox/issues{/number}",
"pulls_url": "https://api.github.com/repos/BonnyCI/sandbox/pulls{/number}",
"milestones_url": "https://api.github.com/repos/BonnyCI/sandbox/milestones{/number}",
"notifications_url": "https://api.github.com/repos/BonnyCI/sandbox/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/BonnyCI/sandbox/labels{/name}",
"releases_url": "https://api.github.com/repos/BonnyCI/sandbox/releases{/id}",
"deployments_url": "https://api.github.com/repos/BonnyCI/sandbox/deployments",
"created_at": "2016-11-23T22:44:17Z",
"updated_at": "2016-12-08T20:51:22Z",
"pushed_at": "2016-12-08T22:20:19Z",
"git_url": "git://github.com/BonnyCI/sandbox.git",
"ssh_url": "git@github.com:BonnyCI/sandbox.git",
"clone_url": "https://github.com/BonnyCI/sandbox.git",
"svn_url": "https://github.com/BonnyCI/sandbox",
"homepage": "",
"size": 172,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Python",
"has_issues": true,
"has_downloads": false,
"has_wiki": false,
"has_pages": false,
"forks_count": 2,
"mirror_url": null,
"open_issues_count": 4,
"forks": 2,
"open_issues": 4,
"watchers": 0,
"default_branch": "master"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13"
},
"html": {
"href": "https://github.com/BonnyCI/sandbox/pull/13"
},
"issue": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/issues/13"
},
"comments": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/issues/13/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/pulls/13/commits"
},
"statuses": {
"href": "https://api.github.com/repos/BonnyCI/sandbox/statuses/c69ced53dc189cd86e40bdb71903936e7ea3a942"
}
},
"merged": false,
"mergeable": true,
"mergeable_state": "clean",
"merged_by": null,
"comments": 0,
"review_comments": 0,
"commits": 2,
"additions": 6,
"deletions": 2,
"changed_files": 5
},
"repository": {
"id": 74619685,
"name": "sandbox",
"full_name": "BonnyCI/sandbox",
"owner": {
"login": "BonnyCI",
"id": 23387923,
"avatar_url": "https://avatars.githubusercontent.com/u/23387923?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/BonnyCI",
"html_url": "https://github.com/BonnyCI",
"followers_url": "https://api.github.com/users/BonnyCI/followers",
"following_url": "https://api.github.com/users/BonnyCI/following{/other_user}",
"gists_url": "https://api.github.com/users/BonnyCI/gists{/gist_id}",
"starred_url": "https://api.github.com/users/BonnyCI/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BonnyCI/subscriptions",
"organizations_url": "https://api.github.com/users/BonnyCI/orgs",
"repos_url": "https://api.github.com/users/BonnyCI/repos",
"events_url": "https://api.github.com/users/BonnyCI/events{/privacy}",
"received_events_url": "https://api.github.com/users/BonnyCI/received_events",
"type": "Organization",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/BonnyCI/sandbox",
"description": "Party Mode Activate",
"fork": true,
"url": "https://api.github.com/repos/BonnyCI/sandbox",
"forks_url": "https://api.github.com/repos/BonnyCI/sandbox/forks",
"keys_url": "https://api.github.com/repos/BonnyCI/sandbox/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/BonnyCI/sandbox/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/BonnyCI/sandbox/teams",
"hooks_url": "https://api.github.com/repos/BonnyCI/sandbox/hooks",
"issue_events_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/events{/number}",
"events_url": "https://api.github.com/repos/BonnyCI/sandbox/events",
"assignees_url": "https://api.github.com/repos/BonnyCI/sandbox/assignees{/user}",
"branches_url": "https://api.github.com/repos/BonnyCI/sandbox/branches{/branch}",
"tags_url": "https://api.github.com/repos/BonnyCI/sandbox/tags",
"blobs_url": "https://api.github.com/repos/BonnyCI/sandbox/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/BonnyCI/sandbox/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/BonnyCI/sandbox/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/BonnyCI/sandbox/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/BonnyCI/sandbox/statuses/{sha}",
"languages_url": "https://api.github.com/repos/BonnyCI/sandbox/languages",
"stargazers_url": "https://api.github.com/repos/BonnyCI/sandbox/stargazers",
"contributors_url": "https://api.github.com/repos/BonnyCI/sandbox/contributors",
"subscribers_url": "https://api.github.com/repos/BonnyCI/sandbox/subscribers",
"subscription_url": "https://api.github.com/repos/BonnyCI/sandbox/subscription",
"commits_url": "https://api.github.com/repos/BonnyCI/sandbox/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/BonnyCI/sandbox/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/BonnyCI/sandbox/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/BonnyCI/sandbox/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/BonnyCI/sandbox/contents/{+path}",
"compare_url": "https://api.github.com/repos/BonnyCI/sandbox/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/BonnyCI/sandbox/merges",
"archive_url": "https://api.github.com/repos/BonnyCI/sandbox/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/BonnyCI/sandbox/downloads",
"issues_url": "https://api.github.com/repos/BonnyCI/sandbox/issues{/number}",
"pulls_url": "https://api.github.com/repos/BonnyCI/sandbox/pulls{/number}",
"milestones_url": "https://api.github.com/repos/BonnyCI/sandbox/milestones{/number}",
"notifications_url": "https://api.github.com/repos/BonnyCI/sandbox/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/BonnyCI/sandbox/labels{/name}",
"releases_url": "https://api.github.com/repos/BonnyCI/sandbox/releases{/id}",
"deployments_url": "https://api.github.com/repos/BonnyCI/sandbox/deployments",
"created_at": "2016-11-23T22:44:17Z",
"updated_at": "2016-12-08T20:51:22Z",
"pushed_at": "2016-12-08T22:20:19Z",
"git_url": "git://github.com/BonnyCI/sandbox.git",
"ssh_url": "git@github.com:BonnyCI/sandbox.git",
"clone_url": "https://github.com/BonnyCI/sandbox.git",
"svn_url": "https://github.com/BonnyCI/sandbox",
"homepage": "",
"size": 172,
"stargazers_count": 0,
"watchers_count": 0,
"language": "Python",
"has_issues": true,
"has_downloads": false,
"has_wiki": false,
"has_pages": false,
"forks_count": 2,
"mirror_url": null,
"open_issues_count": 4,
"forks": 2,
"open_issues": 4,
"watchers": 0,
"default_branch": "master"
},
"organization": {
"login": "BonnyCI",
"id": 23387923,
"url": "https://api.github.com/orgs/BonnyCI",
"repos_url": "https://api.github.com/orgs/BonnyCI/repos",
"events_url": "https://api.github.com/orgs/BonnyCI/events",
"hooks_url": "https://api.github.com/orgs/BonnyCI/hooks",
"issues_url": "https://api.github.com/orgs/BonnyCI/issues",
"members_url": "https://api.github.com/orgs/BonnyCI/members{/member}",
"public_members_url": "https://api.github.com/orgs/BonnyCI/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/23387923?v=3",
"description": "A more capable CI system"
},
"sender": {
"login": "gandelman-a",
"id": 274055,
"avatar_url": "https://avatars.githubusercontent.com/u/274055?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/gandelman-a",
"html_url": "https://github.com/gandelman-a",
"followers_url": "https://api.github.com/users/gandelman-a/followers",
"following_url": "https://api.github.com/users/gandelman-a/following{/other_user}",
"gists_url": "https://api.github.com/users/gandelman-a/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gandelman-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gandelman-a/subscriptions",
"organizations_url": "https://api.github.com/users/gandelman-a/orgs",
"repos_url": "https://api.github.com/users/gandelman-a/repos",
"events_url": "https://api.github.com/users/gandelman-a/events{/privacy}",
"received_events_url": "https://api.github.com/users/gandelman-a/received_events",
"type": "User",
"site_admin": false
},
"installation": {
"id": 4146
}
}
"""
import requests
headers = {
'X-GitHub-Delivery': '807f1380-bd94-11e6-90a7-6ec2e6156be9',
'X-GitHub-Event': 'pull_request',
'X-Hub-Signature': 'sha1=dd2eae81000326c7bee11f727e443d8e9e6834cb',
'Content-Type': 'application/json',
}
resp = requests.post('http://jamielennox-playpen.bonnyci.com:8001/connection/github/payload',
headers=headers,
data=body)
print resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment