{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4","id":34837095,"html_url":"https://github.com/cfpb/grasshopper-parser/pull/4","diff_url":"https://github.com/cfpb/grasshopper-parser/pull/4.diff","patch_url":"https://github.com/cfpb/grasshopper-parser/pull/4.patch","issue_url":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/4","number":4,"state":"open","locked":false,"title":"Adds GET Support, Switch to Official Python Docker Image, and other goodness","user":{"login":"hkeeler","id":4269085,"avatar_url":"https://avatars.githubusercontent.com/u/4269085?v=3","gravatar_id":"","url":"https://api.github.com/users/hkeeler","html_url":"https://github.com/hkeeler","followers_url":"https://api.github.com/users/hkeeler/followers","following_url":"https://api.github.com/users/hkeeler/following{/other_user}","gists_url":"https://api.github.com/users/hkeeler/gists{/gist_id}","starred_url":"https://api.github.com/users/hkeeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkeeler/subscriptions","organizations_url":"https://api.github.com/users/hkeeler/orgs","repos_url":"https://api.github.com/users/hkeeler/repos","events_url":"https://api.github.com/users/hkeeler/events{/privacy}","received_events_url":"https://api.github.com/users/hkeeler/received_events","type":"User","site_admin":false},"body":"Closes #3.\r\n\r\nThis PR was originally intended to just add `GET` support to the API, but then turned into a _bit_ more:\r\n\r\n* Adds `method` param for specifying whether to use usaddress's `parse` or `tag` function\r\n* Adds `validate` param to check if address string is either incomplete or contains invalid address parts, like P.O. Box\r\n* Adds `time` and `host` attributes to `/status` resource\r\n* Fixes error handling bug\r\n* Adds InvalidApiUsage exception and error handling\r\n* Adds PyDoc strings to all functions\r\n\r\nIn addition, I've switched the `Dockerfile` around to use the [Official Python Docker Image](https://registry.hub.docker.com/_/python/).  This makes the Docker setup super clean, and automatically installs all Python dependencies for you so long as you put a `requirements.txt` in the root of your project.","created_at":"2015-05-06T16:53:48Z","updated_at":"2015-05-06T16:53:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/4/comments","statuses_url":"https://api.github.com/repos/cfpb/grasshopper-parser/statuses/7f69b26b0db02f4edd2df120841370c1ce714e39","head":{"label":"hkeeler:add-get","ref":"add-get","sha":"7f69b26b0db02f4edd2df120841370c1ce714e39","user":{"login":"hkeeler","id":4269085,"avatar_url":"https://avatars.githubusercontent.com/u/4269085?v=3","gravatar_id":"","url":"https://api.github.com/users/hkeeler","html_url":"https://github.com/hkeeler","followers_url":"https://api.github.com/users/hkeeler/followers","following_url":"https://api.github.com/users/hkeeler/following{/other_user}","gists_url":"https://api.github.com/users/hkeeler/gists{/gist_id}","starred_url":"https://api.github.com/users/hkeeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkeeler/subscriptions","organizations_url":"https://api.github.com/users/hkeeler/orgs","repos_url":"https://api.github.com/users/hkeeler/repos","events_url":"https://api.github.com/users/hkeeler/events{/privacy}","received_events_url":"https://api.github.com/users/hkeeler/received_events","type":"User","site_admin":false},"repo":{"id":35061869,"name":"grasshopper-parser","full_name":"hkeeler/grasshopper-parser","owner":{"login":"hkeeler","id":4269085,"avatar_url":"https://avatars.githubusercontent.com/u/4269085?v=3","gravatar_id":"","url":"https://api.github.com/users/hkeeler","html_url":"https://github.com/hkeeler","followers_url":"https://api.github.com/users/hkeeler/followers","following_url":"https://api.github.com/users/hkeeler/following{/other_user}","gists_url":"https://api.github.com/users/hkeeler/gists{/gist_id}","starred_url":"https://api.github.com/users/hkeeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkeeler/subscriptions","organizations_url":"https://api.github.com/users/hkeeler/orgs","repos_url":"https://api.github.com/users/hkeeler/repos","events_url":"https://api.github.com/users/hkeeler/events{/privacy}","received_events_url":"https://api.github.com/users/hkeeler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hkeeler/grasshopper-parser","description":"","fork":true,"url":"https://api.github.com/repos/hkeeler/grasshopper-parser","forks_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/forks","keys_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/teams","hooks_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/hooks","issue_events_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/issues/events{/number}","events_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/events","assignees_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/assignees{/user}","branches_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/branches{/branch}","tags_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/tags","blobs_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/languages","stargazers_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/stargazers","contributors_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/contributors","subscribers_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/subscribers","subscription_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/subscription","commits_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/contents/{+path}","compare_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/merges","archive_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/downloads","issues_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/issues{/number}","pulls_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/labels{/name}","releases_url":"https://api.github.com/repos/hkeeler/grasshopper-parser/releases{/id}","created_at":"2015-05-04T21:53:57Z","updated_at":"2015-05-04T18:57:50Z","pushed_at":"2015-05-06T16:24:36Z","git_url":"git://github.com/hkeeler/grasshopper-parser.git","ssh_url":"git@github.com:hkeeler/grasshopper-parser.git","clone_url":"https://github.com/hkeeler/grasshopper-parser.git","svn_url":"https://github.com/hkeeler/grasshopper-parser","homepage":"https://github.com","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"cfpb:master","ref":"master","sha":"b45f023ab1eb151ec92bf854fa9db3aa22d83446","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":35053311,"name":"grasshopper-parser","full_name":"cfpb/grasshopper-parser","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/grasshopper-parser","description":"","fork":false,"url":"https://api.github.com/repos/cfpb/grasshopper-parser","forks_url":"https://api.github.com/repos/cfpb/grasshopper-parser/forks","keys_url":"https://api.github.com/repos/cfpb/grasshopper-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/grasshopper-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/grasshopper-parser/teams","hooks_url":"https://api.github.com/repos/cfpb/grasshopper-parser/hooks","issue_events_url":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/grasshopper-parser/events","assignees_url":"https://api.github.com/repos/cfpb/grasshopper-parser/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/grasshopper-parser/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/grasshopper-parser/tags","blobs_url":"https://api.github.com/repos/cfpb/grasshopper-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/grasshopper-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/grasshopper-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/grasshopper-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/grasshopper-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/grasshopper-parser/languages","stargazers_url":"https://api.github.com/repos/cfpb/grasshopper-parser/stargazers","contributors_url":"https://api.github.com/repos/cfpb/grasshopper-parser/contributors","subscribers_url":"https://api.github.com/repos/cfpb/grasshopper-parser/subscribers","subscription_url":"https://api.github.com/repos/cfpb/grasshopper-parser/subscription","commits_url":"https://api.github.com/repos/cfpb/grasshopper-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/grasshopper-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/grasshopper-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/grasshopper-parser/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/grasshopper-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/grasshopper-parser/merges","archive_url":"https://api.github.com/repos/cfpb/grasshopper-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/grasshopper-parser/downloads","issues_url":"https://api.github.com/repos/cfpb/grasshopper-parser/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/grasshopper-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/grasshopper-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/grasshopper-parser/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/grasshopper-parser/releases{/id}","created_at":"2015-05-04T18:57:50Z","updated_at":"2015-05-05T21:05:05Z","pushed_at":"2015-05-05T21:05:05Z","git_url":"git://github.com/cfpb/grasshopper-parser.git","ssh_url":"git@github.com:cfpb/grasshopper-parser.git","clone_url":"https://github.com/cfpb/grasshopper-parser.git","svn_url":"https://github.com/cfpb/grasshopper-parser","homepage":"https://github.com","size":0,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4"},"html":{"href":"https://github.com/cfpb/grasshopper-parser/pull/4"},"issue":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/4"},"comments":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/grasshopper-parser/statuses/7f69b26b0db02f4edd2df120841370c1ce714e39"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":174,"deletions":110,"changed_files":5}}