{"action":"opened","number":269,"pull_request":{"url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/269","id":215709008,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NzA5MDA4","html_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing/pull/269","diff_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing/pull/269.diff","patch_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing/pull/269.patch","issue_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/269","number":269,"state":"open","locked":false,"title":"Add some examples using the WaybackClient.","user":{"login":"danielballan","id":2279598,"node_id":"MDQ6VXNlcjIyNzk1OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2279598?v=4","gravatar_id":"","url":"https://api.github.com/users/danielballan","html_url":"https://github.com/danielballan","followers_url":"https://api.github.com/users/danielballan/followers","following_url":"https://api.github.com/users/danielballan/following{/other_user}","gists_url":"https://api.github.com/users/danielballan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielballan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielballan/subscriptions","organizations_url":"https://api.github.com/users/danielballan/orgs","repos_url":"https://api.github.com/users/danielballan/repos","events_url":"https://api.github.com/users/danielballan/events{/privacy}","received_events_url":"https://api.github.com/users/danielballan/received_events","type":"User","site_admin":false},"body":"Here are two examples for using the `WaybackClient` to do basic analysis. I'm sure we can think up more interesting examples, but these seem like a simple place to start. Hopefully others can build on this.\r\n\r\nFor those unfamiliar, the ipython sphinx directive:\r\n\r\n```rst\r\n.. ipython:: python\r\n\r\n   record.date\r\n```\r\n\r\ncauses actual code execution and renders the output like this:\r\n\r\n![image](https://user-images.githubusercontent.com/2279598/45574707-e12b6200-b83e-11e8-9ca8-a5b33f773b31.png)\r\n","created_at":"2018-09-14T20:55:12Z","updated_at":"2018-09-14T20:55:12Z","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/edgi-govdata-archiving/web-monitoring-processing/pulls/269/commits","review_comments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/269/comments","review_comment_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/269/comments","statuses_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/statuses/66442302f5650c9e378703c343f0e0cd5b81b521","head":{"label":"edgi-govdata-archiving:add-some-wayback-examples","ref":"add-some-wayback-examples","sha":"66442302f5650c9e378703c343f0e0cd5b81b521","user":{"login":"edgi-govdata-archiving","id":24626991,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI2OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/24626991?v=4","gravatar_id":"","url":"https://api.github.com/users/edgi-govdata-archiving","html_url":"https://github.com/edgi-govdata-archiving","followers_url":"https://api.github.com/users/edgi-govdata-archiving/followers","following_url":"https://api.github.com/users/edgi-govdata-archiving/following{/other_user}","gists_url":"https://api.github.com/users/edgi-govdata-archiving/gists{/gist_id}","starred_url":"https://api.github.com/users/edgi-govdata-archiving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgi-govdata-archiving/subscriptions","organizations_url":"https://api.github.com/users/edgi-govdata-archiving/orgs","repos_url":"https://api.github.com/users/edgi-govdata-archiving/repos","events_url":"https://api.github.com/users/edgi-govdata-archiving/events{/privacy}","received_events_url":"https://api.github.com/users/edgi-govdata-archiving/received_events","type":"Organization","site_admin":false},"repo":{"id":83559947,"node_id":"MDEwOlJlcG9zaXRvcnk4MzU1OTk0Nw==","name":"web-monitoring-processing","full_name":"edgi-govdata-archiving/web-monitoring-processing","owner":{"login":"edgi-govdata-archiving","id":24626991,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI2OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/24626991?v=4","gravatar_id":"","url":"https://api.github.com/users/edgi-govdata-archiving","html_url":"https://github.com/edgi-govdata-archiving","followers_url":"https://api.github.com/users/edgi-govdata-archiving/followers","following_url":"https://api.github.com/users/edgi-govdata-archiving/following{/other_user}","gists_url":"https://api.github.com/users/edgi-govdata-archiving/gists{/gist_id}","starred_url":"https://api.github.com/users/edgi-govdata-archiving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgi-govdata-archiving/subscriptions","organizations_url":"https://api.github.com/users/edgi-govdata-archiving/orgs","repos_url":"https://api.github.com/users/edgi-govdata-archiving/repos","events_url":"https://api.github.com/users/edgi-govdata-archiving/events{/privacy}","received_events_url":"https://api.github.com/users/edgi-govdata-archiving/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing","description":"Tools for access, \"diff\"-ing, and analyzing archived web pages","fork":false,"url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing","forks_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/forks","keys_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/teams","hooks_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/hooks","issue_events_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/events{/number}","events_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/events","assignees_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/assignees{/user}","branches_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/branches{/branch}","tags_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/tags","blobs_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/statuses/{sha}","languages_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/languages","stargazers_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/stargazers","contributors_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/contributors","subscribers_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/subscribers","subscription_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/subscription","commits_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/contents/{+path}","compare_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/merges","archive_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/downloads","issues_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues{/number}","pulls_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls{/number}","milestones_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/milestones{/number}","notifications_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/labels{/name}","releases_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/releases{/id}","deployments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/deployments","created_at":"2017-03-01T13:54:56Z","updated_at":"2018-09-14T19:24:38Z","pushed_at":"2018-09-14T20:51:36Z","git_url":"git://github.com/edgi-govdata-archiving/web-monitoring-processing.git","ssh_url":"git@github.com:edgi-govdata-archiving/web-monitoring-processing.git","clone_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing.git","svn_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing","homepage":"https://edgi-govdata-archiving.github.io/web-monitoring-processing","size":7775,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":65,"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":16,"open_issues":65,"watchers":8,"default_branch":"master"}},"base":{"label":"edgi-govdata-archiving:master","ref":"master","sha":"a03b6fd4d52aaa0fcb326b0a8e79ac03f85d8da6","user":{"login":"edgi-govdata-archiving","id":24626991,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI2OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/24626991?v=4","gravatar_id":"","url":"https://api.github.com/users/edgi-govdata-archiving","html_url":"https://github.com/edgi-govdata-archiving","followers_url":"https://api.github.com/users/edgi-govdata-archiving/followers","following_url":"https://api.github.com/users/edgi-govdata-archiving/following{/other_user}","gists_url":"https://api.github.com/users/edgi-govdata-archiving/gists{/gist_id}","starred_url":"https://api.github.com/users/edgi-govdata-archiving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgi-govdata-archiving/subscriptions","organizations_url":"https://api.github.com/users/edgi-govdata-archiving/orgs","repos_url":"https://api.github.com/users/edgi-govdata-archiving/repos","events_url":"https://api.github.com/users/edgi-govdata-archiving/events{/privacy}","received_events_url":"https://api.github.com/users/edgi-govdata-archiving/received_events","type":"Organization","site_admin":false},"repo":{"id":83559947,"node_id":"MDEwOlJlcG9zaXRvcnk4MzU1OTk0Nw==","name":"web-monitoring-processing","full_name":"edgi-govdata-archiving/web-monitoring-processing","owner":{"login":"edgi-govdata-archiving","id":24626991,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI2OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/24626991?v=4","gravatar_id":"","url":"https://api.github.com/users/edgi-govdata-archiving","html_url":"https://github.com/edgi-govdata-archiving","followers_url":"https://api.github.com/users/edgi-govdata-archiving/followers","following_url":"https://api.github.com/users/edgi-govdata-archiving/following{/other_user}","gists_url":"https://api.github.com/users/edgi-govdata-archiving/gists{/gist_id}","starred_url":"https://api.github.com/users/edgi-govdata-archiving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgi-govdata-archiving/subscriptions","organizations_url":"https://api.github.com/users/edgi-govdata-archiving/orgs","repos_url":"https://api.github.com/users/edgi-govdata-archiving/repos","events_url":"https://api.github.com/users/edgi-govdata-archiving/events{/privacy}","received_events_url":"https://api.github.com/users/edgi-govdata-archiving/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing","description":"Tools for access, \"diff\"-ing, and analyzing archived web pages","fork":false,"url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing","forks_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/forks","keys_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/teams","hooks_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/hooks","issue_events_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/events{/number}","events_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/events","assignees_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/assignees{/user}","branches_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/branches{/branch}","tags_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/tags","blobs_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/statuses/{sha}","languages_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/languages","stargazers_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/stargazers","contributors_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/contributors","subscribers_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/subscribers","subscription_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/subscription","commits_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/contents/{+path}","compare_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/merges","archive_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/downloads","issues_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues{/number}","pulls_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls{/number}","milestones_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/milestones{/number}","notifications_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/labels{/name}","releases_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/releases{/id}","deployments_url":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/deployments","created_at":"2017-03-01T13:54:56Z","updated_at":"2018-09-14T19:24:38Z","pushed_at":"2018-09-14T20:51:36Z","git_url":"git://github.com/edgi-govdata-archiving/web-monitoring-processing.git","ssh_url":"git@github.com:edgi-govdata-archiving/web-monitoring-processing.git","clone_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing.git","svn_url":"https://github.com/edgi-govdata-archiving/web-monitoring-processing","homepage":"https://edgi-govdata-archiving.github.io/web-monitoring-processing","size":7775,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":65,"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":16,"open_issues":65,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/269"},"html":{"href":"https://github.com/edgi-govdata-archiving/web-monitoring-processing/pull/269"},"issue":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/269"},"comments":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/issues/269/comments"},"review_comments":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/269/comments"},"review_comment":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/pulls/269/commits"},"statuses":{"href":"https://api.github.com/repos/edgi-govdata-archiving/web-monitoring-processing/statuses/66442302f5650c9e378703c343f0e0cd5b81b521"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":114,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"danielballan"}}