{"action":"created","issue":{"url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/11","labels_url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/11/comments","events_url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/11/events","html_url":"https://github.com/SamVerschueren/dev-time-cli/issues/11","id":125537927,"number":11,"title":"Consider supporting GitHub Enterprise","user":{"login":"knpwrs","id":174864,"avatar_url":"https://avatars.githubusercontent.com/u/174864?v=3","gravatar_id":"","url":"https://api.github.com/users/knpwrs","html_url":"https://github.com/knpwrs","followers_url":"https://api.github.com/users/knpwrs/followers","following_url":"https://api.github.com/users/knpwrs/following{/other_user}","gists_url":"https://api.github.com/users/knpwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/knpwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knpwrs/subscriptions","organizations_url":"https://api.github.com/users/knpwrs/orgs","repos_url":"https://api.github.com/users/knpwrs/repos","events_url":"https://api.github.com/users/knpwrs/events{/privacy}","received_events_url":"https://api.github.com/users/knpwrs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-08T03:58:16Z","updated_at":"2016-01-08T15:31:10Z","closed_at":null,"body":"I work on a large international team using GitHub Enterprise. I think it would be cool to support that. We could probably do something like check if we are in a git working tree and if the `origin` is not `github.com` then to try the origin as a GitHub Enterprise URL, falling back to `github.com`.\r\n\r\nThe trickiest part would be authorization. Would it be reasonable to ask users to place access tokens somewhere?"},"comment":{"url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/comments/170032183","html_url":"https://github.com/SamVerschueren/dev-time-cli/issues/11#issuecomment-170032183","issue_url":"https://api.github.com/repos/SamVerschueren/dev-time-cli/issues/11","id":170032183,"user":{"login":"knpwrs","id":174864,"avatar_url":"https://avatars.githubusercontent.com/u/174864?v=3","gravatar_id":"","url":"https://api.github.com/users/knpwrs","html_url":"https://github.com/knpwrs","followers_url":"https://api.github.com/users/knpwrs/followers","following_url":"https://api.github.com/users/knpwrs/following{/other_user}","gists_url":"https://api.github.com/users/knpwrs/gists{/gist_id}","starred_url":"https://api.github.com/users/knpwrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knpwrs/subscriptions","organizations_url":"https://api.github.com/users/knpwrs/orgs","repos_url":"https://api.github.com/users/knpwrs/repos","events_url":"https://api.github.com/users/knpwrs/events{/privacy}","received_events_url":"https://api.github.com/users/knpwrs/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T15:31:10Z","updated_at":"2016-01-08T15:31:10Z","body":"Yes, it's pretty much just github with your own hostname."}}