{"action":"closed","number":84,"pull_request":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84","id":78385888,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/84","diff_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/84.diff","patch_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/84.patch","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/84","number":84,"state":"closed","locked":false,"title":"Huge refactoring in favor of objects and responsibility separation","user":{"login":"douglascamata","id":159076,"avatar_url":"https://avatars.githubusercontent.com/u/159076?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascamata","html_url":"https://github.com/douglascamata","followers_url":"https://api.github.com/users/douglascamata/followers","following_url":"https://api.github.com/users/douglascamata/following{/other_user}","gists_url":"https://api.github.com/users/douglascamata/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascamata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascamata/subscriptions","organizations_url":"https://api.github.com/users/douglascamata/orgs","repos_url":"https://api.github.com/users/douglascamata/repos","events_url":"https://api.github.com/users/douglascamata/events{/privacy}","received_events_url":"https://api.github.com/users/douglascamata/received_events","type":"User","site_admin":false},"body":"I add description in a few minutes. Coding + cooking just made me cut my finger, lol. \r\n\r\n----\r\n\r\nBasically I split the code in:\r\n\r\n- the Bot class, the main controller of the bot\r\n- the Stepper class, responsible for (guess what?) taking steps \r\n- cell_worker, classes responsible to process the many different type of cells we can find","created_at":"2016-07-21T20:55:55Z","updated_at":"2016-07-21T21:29:52Z","closed_at":"2016-07-21T21:29:52Z","merged_at":"2016-07-21T21:29:52Z","merge_commit_sha":"ce89d3e83f89dbe171fc2301139429bf839625ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84/commits","review_comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84/comments","review_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/84/comments","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/fda56a33e4647110b98d950a18499f3c29fbb431","head":{"label":"douglascamata:feature/refactor","ref":"feature/refactor","sha":"fda56a33e4647110b98d950a18499f3c29fbb431","user":{"login":"douglascamata","id":159076,"avatar_url":"https://avatars.githubusercontent.com/u/159076?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascamata","html_url":"https://github.com/douglascamata","followers_url":"https://api.github.com/users/douglascamata/followers","following_url":"https://api.github.com/users/douglascamata/following{/other_user}","gists_url":"https://api.github.com/users/douglascamata/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascamata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascamata/subscriptions","organizations_url":"https://api.github.com/users/douglascamata/orgs","repos_url":"https://api.github.com/users/douglascamata/repos","events_url":"https://api.github.com/users/douglascamata/events{/privacy}","received_events_url":"https://api.github.com/users/douglascamata/received_events","type":"User","site_admin":false},"repo":{"id":63892497,"name":"PokemonGo-Bot","full_name":"douglascamata/PokemonGo-Bot","owner":{"login":"douglascamata","id":159076,"avatar_url":"https://avatars.githubusercontent.com/u/159076?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascamata","html_url":"https://github.com/douglascamata","followers_url":"https://api.github.com/users/douglascamata/followers","following_url":"https://api.github.com/users/douglascamata/following{/other_user}","gists_url":"https://api.github.com/users/douglascamata/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascamata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascamata/subscriptions","organizations_url":"https://api.github.com/users/douglascamata/orgs","repos_url":"https://api.github.com/users/douglascamata/repos","events_url":"https://api.github.com/users/douglascamata/events{/privacy}","received_events_url":"https://api.github.com/users/douglascamata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/douglascamata/PokemonGo-Bot","description":"The pokemon go auto pokestop searcher and pokemon hunter, backup with community.","fork":true,"url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot","forks_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/douglascamata/PokemonGo-Bot/deployments","created_at":"2016-07-21T18:19:24Z","updated_at":"2016-07-21T18:19:25Z","pushed_at":"2016-07-21T21:07:44Z","git_url":"git://github.com/douglascamata/PokemonGo-Bot.git","ssh_url":"git@github.com:douglascamata/PokemonGo-Bot.git","clone_url":"https://github.com/douglascamata/PokemonGo-Bot.git","svn_url":"https://github.com/douglascamata/PokemonGo-Bot","homepage":"","size":208,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"PokemonGoF:master","ref":"master","sha":"ff51a306101ac7a7e2fcf5308ddf08247c154f0d","user":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"User","site_admin":false},"repo":{"id":63752974,"name":"PokemonGo-Bot","full_name":"PokemonGoF/PokemonGo-Bot","owner":{"login":"PokemonGoF","id":20551204,"avatar_url":"https://avatars.githubusercontent.com/u/20551204?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoF","html_url":"https://github.com/PokemonGoF","followers_url":"https://api.github.com/users/PokemonGoF/followers","following_url":"https://api.github.com/users/PokemonGoF/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoF/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoF/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoF/orgs","repos_url":"https://api.github.com/users/PokemonGoF/repos","events_url":"https://api.github.com/users/PokemonGoF/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoF/PokemonGo-Bot","description":"The Pokemon Go Bot script, baking with community.","fork":false,"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","forks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/forks","keys_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/teams","hooks_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/events","assignees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/tags","blobs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/languages","stargazers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/subscription","commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/merges","archive_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/downloads","issues_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/deployments","created_at":"2016-07-20T05:31:53Z","updated_at":"2016-07-21T21:23:36Z","pushed_at":"2016-07-21T21:29:52Z","git_url":"git://github.com/PokemonGoF/PokemonGo-Bot.git","ssh_url":"git@github.com:PokemonGoF/PokemonGo-Bot.git","clone_url":"https://github.com/PokemonGoF/PokemonGo-Bot.git","svn_url":"https://github.com/PokemonGoF/PokemonGo-Bot","homepage":"","size":268,"stargazers_count":138,"watchers_count":138,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":45,"forks":51,"open_issues":45,"watchers":138,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84"},"html":{"href":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/84"},"issue":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/84"},"comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/statuses/fda56a33e4647110b98d950a18499f3c29fbb431"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"douglascamata","id":159076,"avatar_url":"https://avatars.githubusercontent.com/u/159076?v=3","gravatar_id":"","url":"https://api.github.com/users/douglascamata","html_url":"https://github.com/douglascamata","followers_url":"https://api.github.com/users/douglascamata/followers","following_url":"https://api.github.com/users/douglascamata/following{/other_user}","gists_url":"https://api.github.com/users/douglascamata/gists{/gist_id}","starred_url":"https://api.github.com/users/douglascamata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglascamata/subscriptions","organizations_url":"https://api.github.com/users/douglascamata/orgs","repos_url":"https://api.github.com/users/douglascamata/repos","events_url":"https://api.github.com/users/douglascamata/events{/privacy}","received_events_url":"https://api.github.com/users/douglascamata/received_events","type":"User","site_admin":false},"comments":12,"review_comments":0,"commits":4,"additions":363,"deletions":400,"changed_files":7}}
{"actor":{"display_login":"douglascamata"}}