{"action":"opened","issue":{"url":"https://api.github.com/repos/dolfelt/wheniwork-api-php/issues/9","labels_url":"https://api.github.com/repos/dolfelt/wheniwork-api-php/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/dolfelt/wheniwork-api-php/issues/9/comments","events_url":"https://api.github.com/repos/dolfelt/wheniwork-api-php/issues/9/events","html_url":"https://github.com/dolfelt/wheniwork-api-php/issues/9","id":106812548,"number":9,"title":"No way to set endpoint for login","user":{"login":"elazar","id":15487,"avatar_url":"https://avatars.githubusercontent.com/u/15487?v=3","gravatar_id":"","url":"https://api.github.com/users/elazar","html_url":"https://github.com/elazar","followers_url":"https://api.github.com/users/elazar/followers","following_url":"https://api.github.com/users/elazar/following{/other_user}","gists_url":"https://api.github.com/users/elazar/gists{/gist_id}","starred_url":"https://api.github.com/users/elazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elazar/subscriptions","organizations_url":"https://api.github.com/users/elazar/orgs","repos_url":"https://api.github.com/users/elazar/repos","events_url":"https://api.github.com/users/elazar/events{/privacy}","received_events_url":"https://api.github.com/users/elazar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T16:41:26Z","updated_at":"2015-09-16T16:41:26Z","closed_at":null,"body":"`__construct()` will [configure the endpoint](https://github.com/dolfelt/wheniwork-api-php/blob/e713fbf24c084e836c98e82c9b68bfb8b2a3fa3b/src/Wheniwork.php#L46-L48), but `login()` [does not provide a way](https://github.com/dolfelt/wheniwork-api-php/blob/e713fbf24c084e836c98e82c9b68bfb8b2a3fa3b/src/Wheniwork.php#L265) to specify the endpoint for the call `__construct()`."}}