{"action":"created","issue":{"url":"https://api.github.com/repos/toniov/gcal-cli/issues/7","repository_url":"https://api.github.com/repos/toniov/gcal-cli","labels_url":"https://api.github.com/repos/toniov/gcal-cli/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/toniov/gcal-cli/issues/7/comments","events_url":"https://api.github.com/repos/toniov/gcal-cli/issues/7/events","html_url":"https://github.com/toniov/gcal-cli/pull/7","id":360310192,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NTk4NTM0","number":7,"title":"Refactore index.js to be able to be required programmatically","user":{"login":"92bondstreet","id":4671054,"node_id":"MDQ6VXNlcjQ2NzEwNTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4671054?v=4","gravatar_id":"","url":"https://api.github.com/users/92bondstreet","html_url":"https://github.com/92bondstreet","followers_url":"https://api.github.com/users/92bondstreet/followers","following_url":"https://api.github.com/users/92bondstreet/following{/other_user}","gists_url":"https://api.github.com/users/92bondstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/92bondstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/92bondstreet/subscriptions","organizations_url":"https://api.github.com/users/92bondstreet/orgs","repos_url":"https://api.github.com/users/92bondstreet/repos","events_url":"https://api.github.com/users/92bondstreet/events{/privacy}","received_events_url":"https://api.github.com/users/92bondstreet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-14T13:42:35Z","updated_at":"2018-09-19T14:37:30Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/toniov/gcal-cli/pulls/7","html_url":"https://github.com/toniov/gcal-cli/pull/7","diff_url":"https://github.com/toniov/gcal-cli/pull/7.diff","patch_url":"https://github.com/toniov/gcal-cli/pull/7.patch"},"body":"## What?\r\n\r\nThis MR contains largely a smooth refactoring to use gcal-cli also in a programmatically way.\r\n\r\n## How?\r\n\r\n* add the bin entry point `bin.js`\r\n* move google apis method to `api.js`\r\n* expose client, api and core method from `index.js`\r\n* add `Do directives` doc for the first authorization installation\r\n* settle bulk promises instead of call them with `Promise.all`"},"comment":{"url":"https://api.github.com/repos/toniov/gcal-cli/issues/comments/422828774","html_url":"https://github.com/toniov/gcal-cli/pull/7#issuecomment-422828774","issue_url":"https://api.github.com/repos/toniov/gcal-cli/issues/7","id":422828774,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjgyODc3NA==","user":{"login":"92bondstreet","id":4671054,"node_id":"MDQ6VXNlcjQ2NzEwNTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4671054?v=4","gravatar_id":"","url":"https://api.github.com/users/92bondstreet","html_url":"https://github.com/92bondstreet","followers_url":"https://api.github.com/users/92bondstreet/followers","following_url":"https://api.github.com/users/92bondstreet/following{/other_user}","gists_url":"https://api.github.com/users/92bondstreet/gists{/gist_id}","starred_url":"https://api.github.com/users/92bondstreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/92bondstreet/subscriptions","organizations_url":"https://api.github.com/users/92bondstreet/orgs","repos_url":"https://api.github.com/users/92bondstreet/repos","events_url":"https://api.github.com/users/92bondstreet/events{/privacy}","received_events_url":"https://api.github.com/users/92bondstreet/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T14:37:30Z","updated_at":"2018-09-19T14:37:30Z","author_association":"NONE","body":"Regarding all refactoring and new features, we could also open the PR to a dedicated branch.\r\n"}}
{"actor":{"display_login":"92bondstreet"}}