{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/51","id":223059468,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDU5NDY4","html_url":"https://github.com/Pringleman83/SportsBook/pull/51","diff_url":"https://github.com/Pringleman83/SportsBook/pull/51.diff","patch_url":"https://github.com/Pringleman83/SportsBook/pull/51.patch","issue_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/51","number":51,"state":"open","locked":false,"title":"Write to Excel - (Still in progress) + more","user":{"login":"Pringleman83","id":36759641,"node_id":"MDQ6VXNlcjM2NzU5NjQx","avatar_url":"https://avatars2.githubusercontent.com/u/36759641?v=4","gravatar_id":"","url":"https://api.github.com/users/Pringleman83","html_url":"https://github.com/Pringleman83","followers_url":"https://api.github.com/users/Pringleman83/followers","following_url":"https://api.github.com/users/Pringleman83/following{/other_user}","gists_url":"https://api.github.com/users/Pringleman83/gists{/gist_id}","starred_url":"https://api.github.com/users/Pringleman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pringleman83/subscriptions","organizations_url":"https://api.github.com/users/Pringleman83/orgs","repos_url":"https://api.github.com/users/Pringleman83/repos","events_url":"https://api.github.com/users/Pringleman83/events{/privacy}","received_events_url":"https://api.github.com/users/Pringleman83/received_events","type":"User","site_admin":false},"body":"I've edited and renamed the export_to_json function so that it can now, to some degree, export to Excel. It takes parameters to choose either json or excel for saving. It can also take \"choose\" and present the user with an option.\r\n\r\nI've added another variable to the predictions list. prediction_goal_difference holds the absolute difference between the predicted home and away scores.\r\n\r\nCorrected a team count error in the available_leagues dictionary.","created_at":"2018-10-15T22:14:14Z","updated_at":"2018-10-15T22:14:14Z","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/Pringleman83/SportsBook/pulls/51/commits","review_comments_url":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/51/comments","review_comment_url":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/51/comments","statuses_url":"https://api.github.com/repos/Pringleman83/SportsBook/statuses/92a72aa73a266fb3be93cc61cf6539a9ea420034","head":{"label":"Pringleman83:development","ref":"development","sha":"92a72aa73a266fb3be93cc61cf6539a9ea420034","user":{"login":"Pringleman83","id":36759641,"node_id":"MDQ6VXNlcjM2NzU5NjQx","avatar_url":"https://avatars2.githubusercontent.com/u/36759641?v=4","gravatar_id":"","url":"https://api.github.com/users/Pringleman83","html_url":"https://github.com/Pringleman83","followers_url":"https://api.github.com/users/Pringleman83/followers","following_url":"https://api.github.com/users/Pringleman83/following{/other_user}","gists_url":"https://api.github.com/users/Pringleman83/gists{/gist_id}","starred_url":"https://api.github.com/users/Pringleman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pringleman83/subscriptions","organizations_url":"https://api.github.com/users/Pringleman83/orgs","repos_url":"https://api.github.com/users/Pringleman83/repos","events_url":"https://api.github.com/users/Pringleman83/events{/privacy}","received_events_url":"https://api.github.com/users/Pringleman83/received_events","type":"User","site_admin":false},"repo":{"id":147865192,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjUxOTI=","name":"SportsBook","full_name":"Pringleman83/SportsBook","private":false,"owner":{"login":"Pringleman83","id":36759641,"node_id":"MDQ6VXNlcjM2NzU5NjQx","avatar_url":"https://avatars2.githubusercontent.com/u/36759641?v=4","gravatar_id":"","url":"https://api.github.com/users/Pringleman83","html_url":"https://github.com/Pringleman83","followers_url":"https://api.github.com/users/Pringleman83/followers","following_url":"https://api.github.com/users/Pringleman83/following{/other_user}","gists_url":"https://api.github.com/users/Pringleman83/gists{/gist_id}","starred_url":"https://api.github.com/users/Pringleman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pringleman83/subscriptions","organizations_url":"https://api.github.com/users/Pringleman83/orgs","repos_url":"https://api.github.com/users/Pringleman83/repos","events_url":"https://api.github.com/users/Pringleman83/events{/privacy}","received_events_url":"https://api.github.com/users/Pringleman83/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Pringleman83/SportsBook","description":"A sports data scraping and analysis tool","fork":false,"url":"https://api.github.com/repos/Pringleman83/SportsBook","forks_url":"https://api.github.com/repos/Pringleman83/SportsBook/forks","keys_url":"https://api.github.com/repos/Pringleman83/SportsBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pringleman83/SportsBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pringleman83/SportsBook/teams","hooks_url":"https://api.github.com/repos/Pringleman83/SportsBook/hooks","issue_events_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/events{/number}","events_url":"https://api.github.com/repos/Pringleman83/SportsBook/events","assignees_url":"https://api.github.com/repos/Pringleman83/SportsBook/assignees{/user}","branches_url":"https://api.github.com/repos/Pringleman83/SportsBook/branches{/branch}","tags_url":"https://api.github.com/repos/Pringleman83/SportsBook/tags","blobs_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pringleman83/SportsBook/statuses/{sha}","languages_url":"https://api.github.com/repos/Pringleman83/SportsBook/languages","stargazers_url":"https://api.github.com/repos/Pringleman83/SportsBook/stargazers","contributors_url":"https://api.github.com/repos/Pringleman83/SportsBook/contributors","subscribers_url":"https://api.github.com/repos/Pringleman83/SportsBook/subscribers","subscription_url":"https://api.github.com/repos/Pringleman83/SportsBook/subscription","commits_url":"https://api.github.com/repos/Pringleman83/SportsBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pringleman83/SportsBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pringleman83/SportsBook/contents/{+path}","compare_url":"https://api.github.com/repos/Pringleman83/SportsBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pringleman83/SportsBook/merges","archive_url":"https://api.github.com/repos/Pringleman83/SportsBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pringleman83/SportsBook/downloads","issues_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues{/number}","pulls_url":"https://api.github.com/repos/Pringleman83/SportsBook/pulls{/number}","milestones_url":"https://api.github.com/repos/Pringleman83/SportsBook/milestones{/number}","notifications_url":"https://api.github.com/repos/Pringleman83/SportsBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pringleman83/SportsBook/labels{/name}","releases_url":"https://api.github.com/repos/Pringleman83/SportsBook/releases{/id}","deployments_url":"https://api.github.com/repos/Pringleman83/SportsBook/deployments","created_at":"2018-09-07T19:17:50Z","updated_at":"2018-10-14T21:35:39Z","pushed_at":"2018-10-15T22:10:20Z","git_url":"git://github.com/Pringleman83/SportsBook.git","ssh_url":"git@github.com:Pringleman83/SportsBook.git","clone_url":"https://github.com/Pringleman83/SportsBook.git","svn_url":"https://github.com/Pringleman83/SportsBook","homepage":null,"size":182,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":10,"open_issues":10,"watchers":13,"default_branch":"master"}},"base":{"label":"Pringleman83:master","ref":"master","sha":"43e538687a646f895283aa37bec334f99a836896","user":{"login":"Pringleman83","id":36759641,"node_id":"MDQ6VXNlcjM2NzU5NjQx","avatar_url":"https://avatars2.githubusercontent.com/u/36759641?v=4","gravatar_id":"","url":"https://api.github.com/users/Pringleman83","html_url":"https://github.com/Pringleman83","followers_url":"https://api.github.com/users/Pringleman83/followers","following_url":"https://api.github.com/users/Pringleman83/following{/other_user}","gists_url":"https://api.github.com/users/Pringleman83/gists{/gist_id}","starred_url":"https://api.github.com/users/Pringleman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pringleman83/subscriptions","organizations_url":"https://api.github.com/users/Pringleman83/orgs","repos_url":"https://api.github.com/users/Pringleman83/repos","events_url":"https://api.github.com/users/Pringleman83/events{/privacy}","received_events_url":"https://api.github.com/users/Pringleman83/received_events","type":"User","site_admin":false},"repo":{"id":147865192,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjUxOTI=","name":"SportsBook","full_name":"Pringleman83/SportsBook","private":false,"owner":{"login":"Pringleman83","id":36759641,"node_id":"MDQ6VXNlcjM2NzU5NjQx","avatar_url":"https://avatars2.githubusercontent.com/u/36759641?v=4","gravatar_id":"","url":"https://api.github.com/users/Pringleman83","html_url":"https://github.com/Pringleman83","followers_url":"https://api.github.com/users/Pringleman83/followers","following_url":"https://api.github.com/users/Pringleman83/following{/other_user}","gists_url":"https://api.github.com/users/Pringleman83/gists{/gist_id}","starred_url":"https://api.github.com/users/Pringleman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pringleman83/subscriptions","organizations_url":"https://api.github.com/users/Pringleman83/orgs","repos_url":"https://api.github.com/users/Pringleman83/repos","events_url":"https://api.github.com/users/Pringleman83/events{/privacy}","received_events_url":"https://api.github.com/users/Pringleman83/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Pringleman83/SportsBook","description":"A sports data scraping and analysis tool","fork":false,"url":"https://api.github.com/repos/Pringleman83/SportsBook","forks_url":"https://api.github.com/repos/Pringleman83/SportsBook/forks","keys_url":"https://api.github.com/repos/Pringleman83/SportsBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pringleman83/SportsBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pringleman83/SportsBook/teams","hooks_url":"https://api.github.com/repos/Pringleman83/SportsBook/hooks","issue_events_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/events{/number}","events_url":"https://api.github.com/repos/Pringleman83/SportsBook/events","assignees_url":"https://api.github.com/repos/Pringleman83/SportsBook/assignees{/user}","branches_url":"https://api.github.com/repos/Pringleman83/SportsBook/branches{/branch}","tags_url":"https://api.github.com/repos/Pringleman83/SportsBook/tags","blobs_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pringleman83/SportsBook/statuses/{sha}","languages_url":"https://api.github.com/repos/Pringleman83/SportsBook/languages","stargazers_url":"https://api.github.com/repos/Pringleman83/SportsBook/stargazers","contributors_url":"https://api.github.com/repos/Pringleman83/SportsBook/contributors","subscribers_url":"https://api.github.com/repos/Pringleman83/SportsBook/subscribers","subscription_url":"https://api.github.com/repos/Pringleman83/SportsBook/subscription","commits_url":"https://api.github.com/repos/Pringleman83/SportsBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pringleman83/SportsBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pringleman83/SportsBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pringleman83/SportsBook/contents/{+path}","compare_url":"https://api.github.com/repos/Pringleman83/SportsBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pringleman83/SportsBook/merges","archive_url":"https://api.github.com/repos/Pringleman83/SportsBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pringleman83/SportsBook/downloads","issues_url":"https://api.github.com/repos/Pringleman83/SportsBook/issues{/number}","pulls_url":"https://api.github.com/repos/Pringleman83/SportsBook/pulls{/number}","milestones_url":"https://api.github.com/repos/Pringleman83/SportsBook/milestones{/number}","notifications_url":"https://api.github.com/repos/Pringleman83/SportsBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pringleman83/SportsBook/labels{/name}","releases_url":"https://api.github.com/repos/Pringleman83/SportsBook/releases{/id}","deployments_url":"https://api.github.com/repos/Pringleman83/SportsBook/deployments","created_at":"2018-09-07T19:17:50Z","updated_at":"2018-10-14T21:35:39Z","pushed_at":"2018-10-15T22:10:20Z","git_url":"git://github.com/Pringleman83/SportsBook.git","ssh_url":"git@github.com:Pringleman83/SportsBook.git","clone_url":"https://github.com/Pringleman83/SportsBook.git","svn_url":"https://github.com/Pringleman83/SportsBook","homepage":null,"size":182,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":10,"open_issues":10,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/51"},"html":{"href":"https://github.com/Pringleman83/SportsBook/pull/51"},"issue":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/issues/51"},"comments":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/Pringleman83/SportsBook/statuses/92a72aa73a266fb3be93cc61cf6539a9ea420034"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3520,"deletions":7816,"changed_files":9}}
{"actor":{"display_login":"Pringleman83"}}