{"action":"created","issue":{"url":"https://api.github.com/repos/JoeDawson/youtube/issues/23","repository_url":"https://api.github.com/repos/JoeDawson/youtube","labels_url":"https://api.github.com/repos/JoeDawson/youtube/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/JoeDawson/youtube/issues/23/comments","events_url":"https://api.github.com/repos/JoeDawson/youtube/issues/23/events","html_url":"https://github.com/JoeDawson/youtube/issues/23","id":158296073,"number":23,"title":"Unlisted video","user":{"login":"Tomasseee","id":6481761,"avatar_url":"https://avatars.githubusercontent.com/u/6481761?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomasseee","html_url":"https://github.com/Tomasseee","followers_url":"https://api.github.com/users/Tomasseee/followers","following_url":"https://api.github.com/users/Tomasseee/following{/other_user}","gists_url":"https://api.github.com/users/Tomasseee/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomasseee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomasseee/subscriptions","organizations_url":"https://api.github.com/users/Tomasseee/orgs","repos_url":"https://api.github.com/users/Tomasseee/repos","events_url":"https://api.github.com/users/Tomasseee/events{/privacy}","received_events_url":"https://api.github.com/users/Tomasseee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T05:50:58Z","updated_at":"2016-06-03T13:29:00Z","closed_at":"2016-06-03T13:26:47Z","body":"Hello,\r\n\r\nYour script works great, but, how can i pass unlisted parameter?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JoeDawson/youtube/issues/comments/223578630","html_url":"https://github.com/JoeDawson/youtube/issues/23#issuecomment-223578630","issue_url":"https://api.github.com/repos/JoeDawson/youtube/issues/23","id":223578630,"user":{"login":"Tomasseee","id":6481761,"avatar_url":"https://avatars.githubusercontent.com/u/6481761?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomasseee","html_url":"https://github.com/Tomasseee","followers_url":"https://api.github.com/users/Tomasseee/followers","following_url":"https://api.github.com/users/Tomasseee/following{/other_user}","gists_url":"https://api.github.com/users/Tomasseee/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomasseee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomasseee/subscriptions","organizations_url":"https://api.github.com/users/Tomasseee/orgs","repos_url":"https://api.github.com/users/Tomasseee/repos","events_url":"https://api.github.com/users/Tomasseee/events{/privacy}","received_events_url":"https://api.github.com/users/Tomasseee/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T13:29:00Z","updated_at":"2016-06-03T13:29:00Z","body":"But it works like this, tested:)\r\n\r\nid = Youtube::upload($pathToMovieFile, $params, 'unlisted');"}}
{"actor":{"display_login":"Tomasseee"}}