{"action":"created","issue":{"url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/1","repository_url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API","labels_url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/1/comments","events_url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/1/events","html_url":"https://github.com/Colling-Media/ZipWhip-PHP-API/pull/1","id":171795136,"number":1,"title":"Sessions do not expire, you only need to authenticate once.","user":{"login":"acapps","id":997481,"avatar_url":"https://avatars.githubusercontent.com/u/997481?v=3","gravatar_id":"","url":"https://api.github.com/users/acapps","html_url":"https://github.com/acapps","followers_url":"https://api.github.com/users/acapps/followers","following_url":"https://api.github.com/users/acapps/following{/other_user}","gists_url":"https://api.github.com/users/acapps/gists{/gist_id}","starred_url":"https://api.github.com/users/acapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acapps/subscriptions","organizations_url":"https://api.github.com/users/acapps/orgs","repos_url":"https://api.github.com/users/acapps/repos","events_url":"https://api.github.com/users/acapps/events{/privacy}","received_events_url":"https://api.github.com/users/acapps/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-18T01:04:58Z","updated_at":"2016-08-18T01:25:31Z","closed_at":"2016-08-18T01:05:55Z","pull_request":{"url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/pulls/1","html_url":"https://github.com/Colling-Media/ZipWhip-PHP-API/pull/1","diff_url":"https://github.com/Colling-Media/ZipWhip-PHP-API/pull/1.diff","patch_url":"https://github.com/Colling-Media/ZipWhip-PHP-API/pull/1.patch"},"body":"Sessions do not expire. Therefore it is best to authenticate once and then persist a mapping of phone number to session.\r\n\r\nI recommend switching the constructor to take a session then and to have a static method for authentication that returns an instance of the ZipwhipClient with the api_key set."},"comment":{"url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/comments/240598281","html_url":"https://github.com/Colling-Media/ZipWhip-PHP-API/pull/1#issuecomment-240598281","issue_url":"https://api.github.com/repos/Colling-Media/ZipWhip-PHP-API/issues/1","id":240598281,"user":{"login":"darkgoldblade01","id":9066551,"avatar_url":"https://avatars.githubusercontent.com/u/9066551?v=3","gravatar_id":"","url":"https://api.github.com/users/darkgoldblade01","html_url":"https://github.com/darkgoldblade01","followers_url":"https://api.github.com/users/darkgoldblade01/followers","following_url":"https://api.github.com/users/darkgoldblade01/following{/other_user}","gists_url":"https://api.github.com/users/darkgoldblade01/gists{/gist_id}","starred_url":"https://api.github.com/users/darkgoldblade01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkgoldblade01/subscriptions","organizations_url":"https://api.github.com/users/darkgoldblade01/orgs","repos_url":"https://api.github.com/users/darkgoldblade01/repos","events_url":"https://api.github.com/users/darkgoldblade01/events{/privacy}","received_events_url":"https://api.github.com/users/darkgoldblade01/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T01:25:31Z","updated_at":"2016-08-18T01:25:31Z","body":"Would it possibly be a step better to just supply an `api_key` in the construct? Hmmm... going to investigate, see if it will work better, or if I could add two different auth types."}}
{"actor":{"display_login":"darkgoldblade01"}}