{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8","id":44964316,"html_url":"https://github.com/jupyter/tmpnb-redirector/pull/8","diff_url":"https://github.com/jupyter/tmpnb-redirector/pull/8.diff","patch_url":"https://github.com/jupyter/tmpnb-redirector/pull/8.patch","issue_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/8","number":8,"state":"open","locked":false,"title":"Moved random host select to function to resolve #5","user":{"login":"captainsafia","id":1857993,"avatar_url":"https://avatars.githubusercontent.com/u/1857993?v=3","gravatar_id":"","url":"https://api.github.com/users/captainsafia","html_url":"https://github.com/captainsafia","followers_url":"https://api.github.com/users/captainsafia/followers","following_url":"https://api.github.com/users/captainsafia/following{/other_user}","gists_url":"https://api.github.com/users/captainsafia/gists{/gist_id}","starred_url":"https://api.github.com/users/captainsafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captainsafia/subscriptions","organizations_url":"https://api.github.com/users/captainsafia/orgs","repos_url":"https://api.github.com/users/captainsafia/repos","events_url":"https://api.github.com/users/captainsafia/events{/privacy}","received_events_url":"https://api.github.com/users/captainsafia/received_events","type":"User","site_admin":false},"body":"GIMME DEM FUNCTIONS.\r\n\r\n![giphy 5](https://cloud.githubusercontent.com/assets/1857993/9858231/66233aa8-5ad4-11e5-8133-adb0b8d11ac9.gif)\r\n\r\nCloses #5.\r\n","created_at":"2015-09-14T18:33:45Z","updated_at":"2015-09-14T18:33:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8/commits","review_comments_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8/comments","review_comment_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/8/comments","statuses_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/statuses/e4abbd4f524dbe1b52f05da1e96ca8aa549e4999","head":{"label":"captainsafia:spawn-from-redirector","ref":"spawn-from-redirector","sha":"e4abbd4f524dbe1b52f05da1e96ca8aa549e4999","user":{"login":"captainsafia","id":1857993,"avatar_url":"https://avatars.githubusercontent.com/u/1857993?v=3","gravatar_id":"","url":"https://api.github.com/users/captainsafia","html_url":"https://github.com/captainsafia","followers_url":"https://api.github.com/users/captainsafia/followers","following_url":"https://api.github.com/users/captainsafia/following{/other_user}","gists_url":"https://api.github.com/users/captainsafia/gists{/gist_id}","starred_url":"https://api.github.com/users/captainsafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captainsafia/subscriptions","organizations_url":"https://api.github.com/users/captainsafia/orgs","repos_url":"https://api.github.com/users/captainsafia/repos","events_url":"https://api.github.com/users/captainsafia/events{/privacy}","received_events_url":"https://api.github.com/users/captainsafia/received_events","type":"User","site_admin":false},"repo":{"id":42214563,"name":"tmpnb-redirector","full_name":"captainsafia/tmpnb-redirector","owner":{"login":"captainsafia","id":1857993,"avatar_url":"https://avatars.githubusercontent.com/u/1857993?v=3","gravatar_id":"","url":"https://api.github.com/users/captainsafia","html_url":"https://github.com/captainsafia","followers_url":"https://api.github.com/users/captainsafia/followers","following_url":"https://api.github.com/users/captainsafia/following{/other_user}","gists_url":"https://api.github.com/users/captainsafia/gists{/gist_id}","starred_url":"https://api.github.com/users/captainsafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captainsafia/subscriptions","organizations_url":"https://api.github.com/users/captainsafia/orgs","repos_url":"https://api.github.com/users/captainsafia/repos","events_url":"https://api.github.com/users/captainsafia/events{/privacy}","received_events_url":"https://api.github.com/users/captainsafia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/captainsafia/tmpnb-redirector","description":"Simple HTTP redirector for tmpnb nodes","fork":true,"url":"https://api.github.com/repos/captainsafia/tmpnb-redirector","forks_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/forks","keys_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/teams","hooks_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/hooks","issue_events_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/issues/events{/number}","events_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/events","assignees_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/assignees{/user}","branches_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/branches{/branch}","tags_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/tags","blobs_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/git/refs{/sha}","trees_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/statuses/{sha}","languages_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/languages","stargazers_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/stargazers","contributors_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/contributors","subscribers_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/subscribers","subscription_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/subscription","commits_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/commits{/sha}","git_commits_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/git/commits{/sha}","comments_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/comments{/number}","issue_comment_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/issues/comments{/number}","contents_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/contents/{+path}","compare_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/merges","archive_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/downloads","issues_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/issues{/number}","pulls_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/pulls{/number}","milestones_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/milestones{/number}","notifications_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/labels{/name}","releases_url":"https://api.github.com/repos/captainsafia/tmpnb-redirector/releases{/id}","created_at":"2015-09-10T01:34:54Z","updated_at":"2015-09-10T01:34:54Z","pushed_at":"2015-09-14T18:09:36Z","git_url":"git://github.com/captainsafia/tmpnb-redirector.git","ssh_url":"git@github.com:captainsafia/tmpnb-redirector.git","clone_url":"https://github.com/captainsafia/tmpnb-redirector.git","svn_url":"https://github.com/captainsafia/tmpnb-redirector","homepage":"","size":84,"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":"jupyter:master","ref":"master","sha":"ae9e22c864ba216e20f6cc75f51581beda4cfef8","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":26245513,"name":"tmpnb-redirector","full_name":"jupyter/tmpnb-redirector","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/tmpnb-redirector","description":"Simple HTTP redirector for tmpnb nodes","fork":false,"url":"https://api.github.com/repos/jupyter/tmpnb-redirector","forks_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/forks","keys_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/teams","hooks_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/hooks","issue_events_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/events","assignees_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/tags","blobs_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/languages","stargazers_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/stargazers","contributors_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/contributors","subscribers_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/subscribers","subscription_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/subscription","commits_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/merges","archive_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/downloads","issues_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/tmpnb-redirector/releases{/id}","created_at":"2014-11-05T23:57:05Z","updated_at":"2015-08-30T14:27:46Z","pushed_at":"2015-09-14T18:09:48Z","git_url":"git://github.com/jupyter/tmpnb-redirector.git","ssh_url":"git@github.com:jupyter/tmpnb-redirector.git","clone_url":"https://github.com/jupyter/tmpnb-redirector.git","svn_url":"https://github.com/jupyter/tmpnb-redirector","homepage":"","size":194,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8"},"html":{"href":"https://github.com/jupyter/tmpnb-redirector/pull/8"},"issue":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/8"},"comments":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/tmpnb-redirector/statuses/e4abbd4f524dbe1b52f05da1e96ca8aa549e4999"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":26,"deletions":20,"changed_files":1}}