{"action":"closed","number":77,"pull_request":{"url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77","id":57435593,"html_url":"https://github.com/aarondcoleman/Fitbit.NET/pull/77","diff_url":"https://github.com/aarondcoleman/Fitbit.NET/pull/77.diff","patch_url":"https://github.com/aarondcoleman/Fitbit.NET/pull/77.patch","issue_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/77","number":77,"state":"closed","locked":false,"title":"Relocate SleepData processing out of FitbitClient","user":{"login":"WestDiscGolf","id":374343,"avatar_url":"https://avatars.githubusercontent.com/u/374343?v=3","gravatar_id":"","url":"https://api.github.com/users/WestDiscGolf","html_url":"https://github.com/WestDiscGolf","followers_url":"https://api.github.com/users/WestDiscGolf/followers","following_url":"https://api.github.com/users/WestDiscGolf/following{/other_user}","gists_url":"https://api.github.com/users/WestDiscGolf/gists{/gist_id}","starred_url":"https://api.github.com/users/WestDiscGolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestDiscGolf/subscriptions","organizations_url":"https://api.github.com/users/WestDiscGolf/orgs","repos_url":"https://api.github.com/users/WestDiscGolf/repos","events_url":"https://api.github.com/users/WestDiscGolf/events{/privacy}","received_events_url":"https://api.github.com/users/WestDiscGolf/received_events","type":"User","site_admin":false},"body":"As part of the \"keeping FitbitClient.cs tidy and clean\" initiative the SleepData processing has bothered me for a while so I've moved it out and the associated tests.\r\n\r\nCan't quite decide if I like the name of the class so happy to change if someone has a better suggestion.","created_at":"2016-01-27T22:46:01Z","updated_at":"2016-02-05T03:22:26Z","closed_at":"2016-02-05T03:22:26Z","merged_at":null,"merge_commit_sha":"ead62707bede86eb2a61aa7505bce86f9f0ee529","assignee":{"login":"mxa0079","id":432881,"avatar_url":"https://avatars.githubusercontent.com/u/432881?v=3","gravatar_id":"","url":"https://api.github.com/users/mxa0079","html_url":"https://github.com/mxa0079","followers_url":"https://api.github.com/users/mxa0079/followers","following_url":"https://api.github.com/users/mxa0079/following{/other_user}","gists_url":"https://api.github.com/users/mxa0079/gists{/gist_id}","starred_url":"https://api.github.com/users/mxa0079/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxa0079/subscriptions","organizations_url":"https://api.github.com/users/mxa0079/orgs","repos_url":"https://api.github.com/users/mxa0079/repos","events_url":"https://api.github.com/users/mxa0079/events{/privacy}","received_events_url":"https://api.github.com/users/mxa0079/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77/commits","review_comments_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77/comments","review_comment_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/77/comments","statuses_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/statuses/fd5a64722be41593a21a07b2f81461a7df3e5668","head":{"label":"WestDiscGolf:sleepdata-processing-refactor","ref":"sleepdata-processing-refactor","sha":"fd5a64722be41593a21a07b2f81461a7df3e5668","user":{"login":"WestDiscGolf","id":374343,"avatar_url":"https://avatars.githubusercontent.com/u/374343?v=3","gravatar_id":"","url":"https://api.github.com/users/WestDiscGolf","html_url":"https://github.com/WestDiscGolf","followers_url":"https://api.github.com/users/WestDiscGolf/followers","following_url":"https://api.github.com/users/WestDiscGolf/following{/other_user}","gists_url":"https://api.github.com/users/WestDiscGolf/gists{/gist_id}","starred_url":"https://api.github.com/users/WestDiscGolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestDiscGolf/subscriptions","organizations_url":"https://api.github.com/users/WestDiscGolf/orgs","repos_url":"https://api.github.com/users/WestDiscGolf/repos","events_url":"https://api.github.com/users/WestDiscGolf/events{/privacy}","received_events_url":"https://api.github.com/users/WestDiscGolf/received_events","type":"User","site_admin":false},"repo":{"id":50212555,"name":"Fitbit.NET","full_name":"WestDiscGolf/Fitbit.NET","owner":{"login":"WestDiscGolf","id":374343,"avatar_url":"https://avatars.githubusercontent.com/u/374343?v=3","gravatar_id":"","url":"https://api.github.com/users/WestDiscGolf","html_url":"https://github.com/WestDiscGolf","followers_url":"https://api.github.com/users/WestDiscGolf/followers","following_url":"https://api.github.com/users/WestDiscGolf/following{/other_user}","gists_url":"https://api.github.com/users/WestDiscGolf/gists{/gist_id}","starred_url":"https://api.github.com/users/WestDiscGolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestDiscGolf/subscriptions","organizations_url":"https://api.github.com/users/WestDiscGolf/orgs","repos_url":"https://api.github.com/users/WestDiscGolf/repos","events_url":"https://api.github.com/users/WestDiscGolf/events{/privacy}","received_events_url":"https://api.github.com/users/WestDiscGolf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WestDiscGolf/Fitbit.NET","description":"Fitbit .NET API Client Library","fork":true,"url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET","forks_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/forks","keys_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/teams","hooks_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/hooks","issue_events_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/issues/events{/number}","events_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/events","assignees_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/assignees{/user}","branches_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/branches{/branch}","tags_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/tags","blobs_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/git/refs{/sha}","trees_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/statuses/{sha}","languages_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/languages","stargazers_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/stargazers","contributors_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/contributors","subscribers_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/subscribers","subscription_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/subscription","commits_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/commits{/sha}","git_commits_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/git/commits{/sha}","comments_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/comments{/number}","issue_comment_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/issues/comments{/number}","contents_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/contents/{+path}","compare_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/merges","archive_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/downloads","issues_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/issues{/number}","pulls_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/pulls{/number}","milestones_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/milestones{/number}","notifications_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/labels{/name}","releases_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/releases{/id}","deployments_url":"https://api.github.com/repos/WestDiscGolf/Fitbit.NET/deployments","created_at":"2016-01-22T22:54:10Z","updated_at":"2016-01-22T22:54:11Z","pushed_at":"2016-02-02T22:37:03Z","git_url":"git://github.com/WestDiscGolf/Fitbit.NET.git","ssh_url":"git@github.com:WestDiscGolf/Fitbit.NET.git","clone_url":"https://github.com/WestDiscGolf/Fitbit.NET.git","svn_url":"https://github.com/WestDiscGolf/Fitbit.NET","homepage":null,"size":6118,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"aarondcoleman:async-portable","ref":"async-portable","sha":"e439a58f50ad60adbda012187d558843303f2beb","user":{"login":"aarondcoleman","id":161033,"avatar_url":"https://avatars.githubusercontent.com/u/161033?v=3","gravatar_id":"","url":"https://api.github.com/users/aarondcoleman","html_url":"https://github.com/aarondcoleman","followers_url":"https://api.github.com/users/aarondcoleman/followers","following_url":"https://api.github.com/users/aarondcoleman/following{/other_user}","gists_url":"https://api.github.com/users/aarondcoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondcoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondcoleman/subscriptions","organizations_url":"https://api.github.com/users/aarondcoleman/orgs","repos_url":"https://api.github.com/users/aarondcoleman/repos","events_url":"https://api.github.com/users/aarondcoleman/events{/privacy}","received_events_url":"https://api.github.com/users/aarondcoleman/received_events","type":"User","site_admin":false},"repo":{"id":5090543,"name":"Fitbit.NET","full_name":"aarondcoleman/Fitbit.NET","owner":{"login":"aarondcoleman","id":161033,"avatar_url":"https://avatars.githubusercontent.com/u/161033?v=3","gravatar_id":"","url":"https://api.github.com/users/aarondcoleman","html_url":"https://github.com/aarondcoleman","followers_url":"https://api.github.com/users/aarondcoleman/followers","following_url":"https://api.github.com/users/aarondcoleman/following{/other_user}","gists_url":"https://api.github.com/users/aarondcoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondcoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondcoleman/subscriptions","organizations_url":"https://api.github.com/users/aarondcoleman/orgs","repos_url":"https://api.github.com/users/aarondcoleman/repos","events_url":"https://api.github.com/users/aarondcoleman/events{/privacy}","received_events_url":"https://api.github.com/users/aarondcoleman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aarondcoleman/Fitbit.NET","description":"Fitbit .NET API Client Library","fork":false,"url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET","forks_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/forks","keys_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/teams","hooks_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/hooks","issue_events_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/events{/number}","events_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/events","assignees_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/assignees{/user}","branches_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/branches{/branch}","tags_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/tags","blobs_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/git/refs{/sha}","trees_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/statuses/{sha}","languages_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/languages","stargazers_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/stargazers","contributors_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/contributors","subscribers_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/subscribers","subscription_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/subscription","commits_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/commits{/sha}","git_commits_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/git/commits{/sha}","comments_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/comments{/number}","issue_comment_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/comments{/number}","contents_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/contents/{+path}","compare_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/merges","archive_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/downloads","issues_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues{/number}","pulls_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls{/number}","milestones_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/milestones{/number}","notifications_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/labels{/name}","releases_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/releases{/id}","deployments_url":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/deployments","created_at":"2012-07-18T01:50:18Z","updated_at":"2016-01-22T19:35:25Z","pushed_at":"2016-02-05T03:17:17Z","git_url":"git://github.com/aarondcoleman/Fitbit.NET.git","ssh_url":"git@github.com:aarondcoleman/Fitbit.NET.git","clone_url":"https://github.com/aarondcoleman/Fitbit.NET.git","svn_url":"https://github.com/aarondcoleman/Fitbit.NET","homepage":null,"size":7990,"stargazers_count":127,"watchers_count":127,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":26,"forks":90,"open_issues":26,"watchers":127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77"},"html":{"href":"https://github.com/aarondcoleman/Fitbit.NET/pull/77"},"issue":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/77"},"comments":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/aarondcoleman/Fitbit.NET/statuses/fd5a64722be41593a21a07b2f81461a7df3e5668"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":141,"deletions":120,"changed_files":6}}