{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/tantalor/fitsync/pulls/12","id":71976543,"html_url":"https://github.com/tantalor/fitsync/pull/12","diff_url":"https://github.com/tantalor/fitsync/pull/12.diff","patch_url":"https://github.com/tantalor/fitsync/pull/12.patch","issue_url":"https://api.github.com/repos/tantalor/fitsync/issues/12","number":12,"state":"closed","locked":false,"title":"Refresh & save Fitbit credentials when they expire","user":{"login":"ppetru","id":111139,"avatar_url":"https://avatars.githubusercontent.com/u/111139?v=3","gravatar_id":"","url":"https://api.github.com/users/ppetru","html_url":"https://github.com/ppetru","followers_url":"https://api.github.com/users/ppetru/followers","following_url":"https://api.github.com/users/ppetru/following{/other_user}","gists_url":"https://api.github.com/users/ppetru/gists{/gist_id}","starred_url":"https://api.github.com/users/ppetru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppetru/subscriptions","organizations_url":"https://api.github.com/users/ppetru/orgs","repos_url":"https://api.github.com/users/ppetru/repos","events_url":"https://api.github.com/users/ppetru/events{/privacy}","received_events_url":"https://api.github.com/users/ppetru/received_events","type":"User","site_admin":false},"body":"Without this, fitsync stops working after a couple hours and requires a manual token refresh.","created_at":"2016-05-31T08:30:57Z","updated_at":"2016-05-31T15:02:19Z","closed_at":"2016-05-31T15:02:19Z","merged_at":"2016-05-31T15:02:19Z","merge_commit_sha":"b59e0c43d6579078cb0264eb59a884095e10fe6a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tantalor/fitsync/pulls/12/commits","review_comments_url":"https://api.github.com/repos/tantalor/fitsync/pulls/12/comments","review_comment_url":"https://api.github.com/repos/tantalor/fitsync/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tantalor/fitsync/issues/12/comments","statuses_url":"https://api.github.com/repos/tantalor/fitsync/statuses/6537a8b66ad743f461144da274d18776ac6ae20f","head":{"label":"ppetru:refresh","ref":"refresh","sha":"6537a8b66ad743f461144da274d18776ac6ae20f","user":{"login":"ppetru","id":111139,"avatar_url":"https://avatars.githubusercontent.com/u/111139?v=3","gravatar_id":"","url":"https://api.github.com/users/ppetru","html_url":"https://github.com/ppetru","followers_url":"https://api.github.com/users/ppetru/followers","following_url":"https://api.github.com/users/ppetru/following{/other_user}","gists_url":"https://api.github.com/users/ppetru/gists{/gist_id}","starred_url":"https://api.github.com/users/ppetru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppetru/subscriptions","organizations_url":"https://api.github.com/users/ppetru/orgs","repos_url":"https://api.github.com/users/ppetru/repos","events_url":"https://api.github.com/users/ppetru/events{/privacy}","received_events_url":"https://api.github.com/users/ppetru/received_events","type":"User","site_admin":false},"repo":{"id":59183709,"name":"fitsync","full_name":"ppetru/fitsync","owner":{"login":"ppetru","id":111139,"avatar_url":"https://avatars.githubusercontent.com/u/111139?v=3","gravatar_id":"","url":"https://api.github.com/users/ppetru","html_url":"https://github.com/ppetru","followers_url":"https://api.github.com/users/ppetru/followers","following_url":"https://api.github.com/users/ppetru/following{/other_user}","gists_url":"https://api.github.com/users/ppetru/gists{/gist_id}","starred_url":"https://api.github.com/users/ppetru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppetru/subscriptions","organizations_url":"https://api.github.com/users/ppetru/orgs","repos_url":"https://api.github.com/users/ppetru/repos","events_url":"https://api.github.com/users/ppetru/events{/privacy}","received_events_url":"https://api.github.com/users/ppetru/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppetru/fitsync","description":"Synchronizes user data between several fitness services.","fork":true,"url":"https://api.github.com/repos/ppetru/fitsync","forks_url":"https://api.github.com/repos/ppetru/fitsync/forks","keys_url":"https://api.github.com/repos/ppetru/fitsync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppetru/fitsync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppetru/fitsync/teams","hooks_url":"https://api.github.com/repos/ppetru/fitsync/hooks","issue_events_url":"https://api.github.com/repos/ppetru/fitsync/issues/events{/number}","events_url":"https://api.github.com/repos/ppetru/fitsync/events","assignees_url":"https://api.github.com/repos/ppetru/fitsync/assignees{/user}","branches_url":"https://api.github.com/repos/ppetru/fitsync/branches{/branch}","tags_url":"https://api.github.com/repos/ppetru/fitsync/tags","blobs_url":"https://api.github.com/repos/ppetru/fitsync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppetru/fitsync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppetru/fitsync/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppetru/fitsync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppetru/fitsync/statuses/{sha}","languages_url":"https://api.github.com/repos/ppetru/fitsync/languages","stargazers_url":"https://api.github.com/repos/ppetru/fitsync/stargazers","contributors_url":"https://api.github.com/repos/ppetru/fitsync/contributors","subscribers_url":"https://api.github.com/repos/ppetru/fitsync/subscribers","subscription_url":"https://api.github.com/repos/ppetru/fitsync/subscription","commits_url":"https://api.github.com/repos/ppetru/fitsync/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppetru/fitsync/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppetru/fitsync/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppetru/fitsync/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppetru/fitsync/contents/{+path}","compare_url":"https://api.github.com/repos/ppetru/fitsync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppetru/fitsync/merges","archive_url":"https://api.github.com/repos/ppetru/fitsync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppetru/fitsync/downloads","issues_url":"https://api.github.com/repos/ppetru/fitsync/issues{/number}","pulls_url":"https://api.github.com/repos/ppetru/fitsync/pulls{/number}","milestones_url":"https://api.github.com/repos/ppetru/fitsync/milestones{/number}","notifications_url":"https://api.github.com/repos/ppetru/fitsync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppetru/fitsync/labels{/name}","releases_url":"https://api.github.com/repos/ppetru/fitsync/releases{/id}","deployments_url":"https://api.github.com/repos/ppetru/fitsync/deployments","created_at":"2016-05-19T07:25:38Z","updated_at":"2016-05-19T07:25:39Z","pushed_at":"2016-05-31T08:55:06Z","git_url":"git://github.com/ppetru/fitsync.git","ssh_url":"git@github.com:ppetru/fitsync.git","clone_url":"https://github.com/ppetru/fitsync.git","svn_url":"https://github.com/ppetru/fitsync","homepage":"","size":22,"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":"tantalor:master","ref":"master","sha":"8274dc5c98f4869deccbf3de768abab34ddab5e8","user":{"login":"tantalor","id":1652,"avatar_url":"https://avatars.githubusercontent.com/u/1652?v=3","gravatar_id":"","url":"https://api.github.com/users/tantalor","html_url":"https://github.com/tantalor","followers_url":"https://api.github.com/users/tantalor/followers","following_url":"https://api.github.com/users/tantalor/following{/other_user}","gists_url":"https://api.github.com/users/tantalor/gists{/gist_id}","starred_url":"https://api.github.com/users/tantalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tantalor/subscriptions","organizations_url":"https://api.github.com/users/tantalor/orgs","repos_url":"https://api.github.com/users/tantalor/repos","events_url":"https://api.github.com/users/tantalor/events{/privacy}","received_events_url":"https://api.github.com/users/tantalor/received_events","type":"User","site_admin":false},"repo":{"id":28018060,"name":"fitsync","full_name":"tantalor/fitsync","owner":{"login":"tantalor","id":1652,"avatar_url":"https://avatars.githubusercontent.com/u/1652?v=3","gravatar_id":"","url":"https://api.github.com/users/tantalor","html_url":"https://github.com/tantalor","followers_url":"https://api.github.com/users/tantalor/followers","following_url":"https://api.github.com/users/tantalor/following{/other_user}","gists_url":"https://api.github.com/users/tantalor/gists{/gist_id}","starred_url":"https://api.github.com/users/tantalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tantalor/subscriptions","organizations_url":"https://api.github.com/users/tantalor/orgs","repos_url":"https://api.github.com/users/tantalor/repos","events_url":"https://api.github.com/users/tantalor/events{/privacy}","received_events_url":"https://api.github.com/users/tantalor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tantalor/fitsync","description":"Synchronizes user data between several fitness services.","fork":false,"url":"https://api.github.com/repos/tantalor/fitsync","forks_url":"https://api.github.com/repos/tantalor/fitsync/forks","keys_url":"https://api.github.com/repos/tantalor/fitsync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tantalor/fitsync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tantalor/fitsync/teams","hooks_url":"https://api.github.com/repos/tantalor/fitsync/hooks","issue_events_url":"https://api.github.com/repos/tantalor/fitsync/issues/events{/number}","events_url":"https://api.github.com/repos/tantalor/fitsync/events","assignees_url":"https://api.github.com/repos/tantalor/fitsync/assignees{/user}","branches_url":"https://api.github.com/repos/tantalor/fitsync/branches{/branch}","tags_url":"https://api.github.com/repos/tantalor/fitsync/tags","blobs_url":"https://api.github.com/repos/tantalor/fitsync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tantalor/fitsync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tantalor/fitsync/git/refs{/sha}","trees_url":"https://api.github.com/repos/tantalor/fitsync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tantalor/fitsync/statuses/{sha}","languages_url":"https://api.github.com/repos/tantalor/fitsync/languages","stargazers_url":"https://api.github.com/repos/tantalor/fitsync/stargazers","contributors_url":"https://api.github.com/repos/tantalor/fitsync/contributors","subscribers_url":"https://api.github.com/repos/tantalor/fitsync/subscribers","subscription_url":"https://api.github.com/repos/tantalor/fitsync/subscription","commits_url":"https://api.github.com/repos/tantalor/fitsync/commits{/sha}","git_commits_url":"https://api.github.com/repos/tantalor/fitsync/git/commits{/sha}","comments_url":"https://api.github.com/repos/tantalor/fitsync/comments{/number}","issue_comment_url":"https://api.github.com/repos/tantalor/fitsync/issues/comments{/number}","contents_url":"https://api.github.com/repos/tantalor/fitsync/contents/{+path}","compare_url":"https://api.github.com/repos/tantalor/fitsync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tantalor/fitsync/merges","archive_url":"https://api.github.com/repos/tantalor/fitsync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tantalor/fitsync/downloads","issues_url":"https://api.github.com/repos/tantalor/fitsync/issues{/number}","pulls_url":"https://api.github.com/repos/tantalor/fitsync/pulls{/number}","milestones_url":"https://api.github.com/repos/tantalor/fitsync/milestones{/number}","notifications_url":"https://api.github.com/repos/tantalor/fitsync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tantalor/fitsync/labels{/name}","releases_url":"https://api.github.com/repos/tantalor/fitsync/releases{/id}","deployments_url":"https://api.github.com/repos/tantalor/fitsync/deployments","created_at":"2014-12-15T03:04:58Z","updated_at":"2016-05-21T19:43:31Z","pushed_at":"2016-05-31T15:02:19Z","git_url":"git://github.com/tantalor/fitsync.git","ssh_url":"git@github.com:tantalor/fitsync.git","clone_url":"https://github.com/tantalor/fitsync.git","svn_url":"https://github.com/tantalor/fitsync","homepage":"","size":19,"stargazers_count":48,"watchers_count":48,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tantalor/fitsync/pulls/12"},"html":{"href":"https://github.com/tantalor/fitsync/pull/12"},"issue":{"href":"https://api.github.com/repos/tantalor/fitsync/issues/12"},"comments":{"href":"https://api.github.com/repos/tantalor/fitsync/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/tantalor/fitsync/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/tantalor/fitsync/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tantalor/fitsync/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/tantalor/fitsync/statuses/6537a8b66ad743f461144da274d18776ac6ae20f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tantalor","id":1652,"avatar_url":"https://avatars.githubusercontent.com/u/1652?v=3","gravatar_id":"","url":"https://api.github.com/users/tantalor","html_url":"https://github.com/tantalor","followers_url":"https://api.github.com/users/tantalor/followers","following_url":"https://api.github.com/users/tantalor/following{/other_user}","gists_url":"https://api.github.com/users/tantalor/gists{/gist_id}","starred_url":"https://api.github.com/users/tantalor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tantalor/subscriptions","organizations_url":"https://api.github.com/users/tantalor/orgs","repos_url":"https://api.github.com/users/tantalor/repos","events_url":"https://api.github.com/users/tantalor/events{/privacy}","received_events_url":"https://api.github.com/users/tantalor/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":23,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"tantalor"}}