{"action":"reopened","number":2,"pull_request":{"url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2","id":81639038,"html_url":"https://github.com/OpenHotsData/upload-api/pull/2","diff_url":"https://github.com/OpenHotsData/upload-api/pull/2.diff","patch_url":"https://github.com/OpenHotsData/upload-api/pull/2.patch","issue_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/2","number":2,"state":"open","locked":false,"title":"initial setup for storing in the database","user":{"login":"nickgartmann","id":645092,"avatar_url":"https://avatars.githubusercontent.com/u/645092?v=3","gravatar_id":"","url":"https://api.github.com/users/nickgartmann","html_url":"https://github.com/nickgartmann","followers_url":"https://api.github.com/users/nickgartmann/followers","following_url":"https://api.github.com/users/nickgartmann/following{/other_user}","gists_url":"https://api.github.com/users/nickgartmann/gists{/gist_id}","starred_url":"https://api.github.com/users/nickgartmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickgartmann/subscriptions","organizations_url":"https://api.github.com/users/nickgartmann/orgs","repos_url":"https://api.github.com/users/nickgartmann/repos","events_url":"https://api.github.com/users/nickgartmann/events{/privacy}","received_events_url":"https://api.github.com/users/nickgartmann/received_events","type":"User","site_admin":false},"body":"Added a database connection pool and a Repo class (in `db.py`) for\r\ninserting replays into the database and checking if a replay is \r\nalready in the database. Relies on the `DATABASE_URL` environment variable.\r\n\r\nRequesting approval from: @coppolaemilio ","created_at":"2016-08-17T13:07:23Z","updated_at":"2016-08-18T09:38:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d59459b1c711ad35823fda6ca34e3c04408cfca2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/2/comments","statuses_url":"https://api.github.com/repos/OpenHotsData/upload-api/statuses/e34ee555f37ec948eca7a2eeedd25af59bb233e0","head":{"label":"OpenHotsData:database","ref":"database","sha":"e34ee555f37ec948eca7a2eeedd25af59bb233e0","user":{"login":"OpenHotsData","id":21073057,"avatar_url":"https://avatars.githubusercontent.com/u/21073057?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenHotsData","html_url":"https://github.com/OpenHotsData","followers_url":"https://api.github.com/users/OpenHotsData/followers","following_url":"https://api.github.com/users/OpenHotsData/following{/other_user}","gists_url":"https://api.github.com/users/OpenHotsData/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenHotsData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenHotsData/subscriptions","organizations_url":"https://api.github.com/users/OpenHotsData/orgs","repos_url":"https://api.github.com/users/OpenHotsData/repos","events_url":"https://api.github.com/users/OpenHotsData/events{/privacy}","received_events_url":"https://api.github.com/users/OpenHotsData/received_events","type":"Organization","site_admin":false},"repo":{"id":65874012,"name":"upload-api","full_name":"OpenHotsData/upload-api","owner":{"login":"OpenHotsData","id":21073057,"avatar_url":"https://avatars.githubusercontent.com/u/21073057?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenHotsData","html_url":"https://github.com/OpenHotsData","followers_url":"https://api.github.com/users/OpenHotsData/followers","following_url":"https://api.github.com/users/OpenHotsData/following{/other_user}","gists_url":"https://api.github.com/users/OpenHotsData/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenHotsData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenHotsData/subscriptions","organizations_url":"https://api.github.com/users/OpenHotsData/orgs","repos_url":"https://api.github.com/users/OpenHotsData/repos","events_url":"https://api.github.com/users/OpenHotsData/events{/privacy}","received_events_url":"https://api.github.com/users/OpenHotsData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenHotsData/upload-api","description":"A python API for receiving and parsing heroes of the storm replays.","fork":false,"url":"https://api.github.com/repos/OpenHotsData/upload-api","forks_url":"https://api.github.com/repos/OpenHotsData/upload-api/forks","keys_url":"https://api.github.com/repos/OpenHotsData/upload-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenHotsData/upload-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenHotsData/upload-api/teams","hooks_url":"https://api.github.com/repos/OpenHotsData/upload-api/hooks","issue_events_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenHotsData/upload-api/events","assignees_url":"https://api.github.com/repos/OpenHotsData/upload-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenHotsData/upload-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenHotsData/upload-api/tags","blobs_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenHotsData/upload-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenHotsData/upload-api/languages","stargazers_url":"https://api.github.com/repos/OpenHotsData/upload-api/stargazers","contributors_url":"https://api.github.com/repos/OpenHotsData/upload-api/contributors","subscribers_url":"https://api.github.com/repos/OpenHotsData/upload-api/subscribers","subscription_url":"https://api.github.com/repos/OpenHotsData/upload-api/subscription","commits_url":"https://api.github.com/repos/OpenHotsData/upload-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenHotsData/upload-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenHotsData/upload-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenHotsData/upload-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenHotsData/upload-api/merges","archive_url":"https://api.github.com/repos/OpenHotsData/upload-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenHotsData/upload-api/downloads","issues_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenHotsData/upload-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenHotsData/upload-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenHotsData/upload-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenHotsData/upload-api/releases{/id}","deployments_url":"https://api.github.com/repos/OpenHotsData/upload-api/deployments","created_at":"2016-08-17T03:44:30Z","updated_at":"2016-08-17T17:58:40Z","pushed_at":"2016-08-17T13:07:45Z","git_url":"git://github.com/OpenHotsData/upload-api.git","ssh_url":"git@github.com:OpenHotsData/upload-api.git","clone_url":"https://github.com/OpenHotsData/upload-api.git","svn_url":"https://github.com/OpenHotsData/upload-api","homepage":null,"size":11,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"OpenHotsData:master","ref":"master","sha":"28c4a5624851f681fc25e3f6ecf964da1a9343b6","user":{"login":"OpenHotsData","id":21073057,"avatar_url":"https://avatars.githubusercontent.com/u/21073057?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenHotsData","html_url":"https://github.com/OpenHotsData","followers_url":"https://api.github.com/users/OpenHotsData/followers","following_url":"https://api.github.com/users/OpenHotsData/following{/other_user}","gists_url":"https://api.github.com/users/OpenHotsData/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenHotsData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenHotsData/subscriptions","organizations_url":"https://api.github.com/users/OpenHotsData/orgs","repos_url":"https://api.github.com/users/OpenHotsData/repos","events_url":"https://api.github.com/users/OpenHotsData/events{/privacy}","received_events_url":"https://api.github.com/users/OpenHotsData/received_events","type":"Organization","site_admin":false},"repo":{"id":65874012,"name":"upload-api","full_name":"OpenHotsData/upload-api","owner":{"login":"OpenHotsData","id":21073057,"avatar_url":"https://avatars.githubusercontent.com/u/21073057?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenHotsData","html_url":"https://github.com/OpenHotsData","followers_url":"https://api.github.com/users/OpenHotsData/followers","following_url":"https://api.github.com/users/OpenHotsData/following{/other_user}","gists_url":"https://api.github.com/users/OpenHotsData/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenHotsData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenHotsData/subscriptions","organizations_url":"https://api.github.com/users/OpenHotsData/orgs","repos_url":"https://api.github.com/users/OpenHotsData/repos","events_url":"https://api.github.com/users/OpenHotsData/events{/privacy}","received_events_url":"https://api.github.com/users/OpenHotsData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenHotsData/upload-api","description":"A python API for receiving and parsing heroes of the storm replays.","fork":false,"url":"https://api.github.com/repos/OpenHotsData/upload-api","forks_url":"https://api.github.com/repos/OpenHotsData/upload-api/forks","keys_url":"https://api.github.com/repos/OpenHotsData/upload-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenHotsData/upload-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenHotsData/upload-api/teams","hooks_url":"https://api.github.com/repos/OpenHotsData/upload-api/hooks","issue_events_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenHotsData/upload-api/events","assignees_url":"https://api.github.com/repos/OpenHotsData/upload-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenHotsData/upload-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenHotsData/upload-api/tags","blobs_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenHotsData/upload-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenHotsData/upload-api/languages","stargazers_url":"https://api.github.com/repos/OpenHotsData/upload-api/stargazers","contributors_url":"https://api.github.com/repos/OpenHotsData/upload-api/contributors","subscribers_url":"https://api.github.com/repos/OpenHotsData/upload-api/subscribers","subscription_url":"https://api.github.com/repos/OpenHotsData/upload-api/subscription","commits_url":"https://api.github.com/repos/OpenHotsData/upload-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenHotsData/upload-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenHotsData/upload-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenHotsData/upload-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenHotsData/upload-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenHotsData/upload-api/merges","archive_url":"https://api.github.com/repos/OpenHotsData/upload-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenHotsData/upload-api/downloads","issues_url":"https://api.github.com/repos/OpenHotsData/upload-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenHotsData/upload-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenHotsData/upload-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenHotsData/upload-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenHotsData/upload-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenHotsData/upload-api/releases{/id}","deployments_url":"https://api.github.com/repos/OpenHotsData/upload-api/deployments","created_at":"2016-08-17T03:44:30Z","updated_at":"2016-08-17T17:58:40Z","pushed_at":"2016-08-17T13:07:45Z","git_url":"git://github.com/OpenHotsData/upload-api.git","ssh_url":"git@github.com:OpenHotsData/upload-api.git","clone_url":"https://github.com/OpenHotsData/upload-api.git","svn_url":"https://github.com/OpenHotsData/upload-api","homepage":null,"size":11,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2"},"html":{"href":"https://github.com/OpenHotsData/upload-api/pull/2"},"issue":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/issues/2"},"comments":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/OpenHotsData/upload-api/statuses/e34ee555f37ec948eca7a2eeedd25af59bb233e0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":75,"deletions":18,"changed_files":5}}
{"actor":{"display_login":"coppolaemilio"}}