{"action":"created","issue":{"url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/21","repository_url":"https://api.github.com/repos/hbagdi/go-unsplash","labels_url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/21/comments","events_url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/21/events","html_url":"https://github.com/hbagdi/go-unsplash/pull/21","id":246195770,"number":21,"title":"use 2-legged client auth","user":{"login":"klauern","id":4735,"avatar_url":"https://avatars3.githubusercontent.com/u/4735?v=4","gravatar_id":"","url":"https://api.github.com/users/klauern","html_url":"https://github.com/klauern","followers_url":"https://api.github.com/users/klauern/followers","following_url":"https://api.github.com/users/klauern/following{/other_user}","gists_url":"https://api.github.com/users/klauern/gists{/gist_id}","starred_url":"https://api.github.com/users/klauern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klauern/subscriptions","organizations_url":"https://api.github.com/users/klauern/orgs","repos_url":"https://api.github.com/users/klauern/repos","events_url":"https://api.github.com/users/klauern/events{/privacy}","received_events_url":"https://api.github.com/users/klauern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-27T23:14:30Z","updated_at":"2017-07-27T23:36:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hbagdi/go-unsplash/pulls/21","html_url":"https://github.com/hbagdi/go-unsplash/pull/21","diff_url":"https://github.com/hbagdi/go-unsplash/pull/21.diff","patch_url":"https://github.com/hbagdi/go-unsplash/pull/21.patch"},"body":"As per the documentation, 2-legged OAuth2 is preferred if you're not running as a third party.  As this is a provided feature, it's simpler to set up and requires one less parameter."},"comment":{"url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/comments/318515662","html_url":"https://github.com/hbagdi/go-unsplash/pull/21#issuecomment-318515662","issue_url":"https://api.github.com/repos/hbagdi/go-unsplash/issues/21","id":318515662,"user":{"login":"hbagdi","id":4694585,"avatar_url":"https://avatars1.githubusercontent.com/u/4694585?v=4","gravatar_id":"","url":"https://api.github.com/users/hbagdi","html_url":"https://github.com/hbagdi","followers_url":"https://api.github.com/users/hbagdi/followers","following_url":"https://api.github.com/users/hbagdi/following{/other_user}","gists_url":"https://api.github.com/users/hbagdi/gists{/gist_id}","starred_url":"https://api.github.com/users/hbagdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbagdi/subscriptions","organizations_url":"https://api.github.com/users/hbagdi/orgs","repos_url":"https://api.github.com/users/hbagdi/repos","events_url":"https://api.github.com/users/hbagdi/events{/privacy}","received_events_url":"https://api.github.com/users/hbagdi/received_events","type":"User","site_admin":false},"created_at":"2017-07-27T23:36:35Z","updated_at":"2017-07-27T23:36:35Z","body":"@klauern, API provides certain endpoints which have to be accessed with a authenticated user (eg- like a photo, add a photo) so it is necessary to use the staticsource method for automated testing.\r\n\r\nI'm not sure if I'm making sense."}}
{"actor":{"display_login":"hbagdi"}}