{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4","id":221953648,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTUzNjQ4","html_url":"https://github.com/thibaudcolas/draftail-playground/pull/4","diff_url":"https://github.com/thibaudcolas/draftail-playground/pull/4.diff","patch_url":"https://github.com/thibaudcolas/draftail-playground/pull/4.patch","issue_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/4","number":4,"state":"open","locked":false,"title":"[WIP] Add most basic text tone analysis POC","user":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"body":"This is built with the Tone Analyzer API of IBM Watson: https://www.ibm.com/watson/developercloud/tone-analyzer/api/v3/python.html?python.\r\n\r\nThe integration is really basic – it adds a Draftail control that displays the tone with the highest score. Tone is queried every 10 seconds.\r\n\r\n---\r\n\r\nI won't merge it as-is, but it's a good showcase of using third-party / HTTP APIs with Draftail – might rebuild this with NLTK to make it publishable, or assess that IBM Watson has a nice enough free tier for this to be published.","created_at":"2018-10-10T22:32:18Z","updated_at":"2018-10-10T22:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":853918317,"node_id":"MDU6TGFiZWw4NTM5MTgzMTc=","url":"https://api.github.com/repos/thibaudcolas/draftail-playground/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4/commits","review_comments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4/comments","review_comment_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/4/comments","statuses_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/statuses/c053e0e343d79ed736a674aa876db4a948192f1d","head":{"label":"thibaudcolas:feature/sentiment-analysis-extension","ref":"feature/sentiment-analysis-extension","sha":"c053e0e343d79ed736a674aa876db4a948192f1d","user":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"repo":{"id":123587399,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1ODczOTk=","name":"draftail-playground","full_name":"thibaudcolas/draftail-playground","private":false,"owner":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/thibaudcolas/draftail-playground","description":"Try Draftail in a full-fledged preview environment","fork":false,"url":"https://api.github.com/repos/thibaudcolas/draftail-playground","forks_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/forks","keys_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/teams","hooks_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/hooks","issue_events_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/events{/number}","events_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/events","assignees_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/assignees{/user}","branches_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/branches{/branch}","tags_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/tags","blobs_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/languages","stargazers_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/stargazers","contributors_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/contributors","subscribers_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/subscribers","subscription_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/subscription","commits_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/contents/{+path}","compare_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/merges","archive_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/downloads","issues_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues{/number}","pulls_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/labels{/name}","releases_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/releases{/id}","deployments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/deployments","created_at":"2018-03-02T14:13:17Z","updated_at":"2018-08-18T12:34:24Z","pushed_at":"2018-10-10T22:29:25Z","git_url":"git://github.com/thibaudcolas/draftail-playground.git","ssh_url":"git@github.com:thibaudcolas/draftail-playground.git","clone_url":"https://github.com/thibaudcolas/draftail-playground.git","svn_url":"https://github.com/thibaudcolas/draftail-playground","homepage":"https://draftail-playground.herokuapp.com/","size":423,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"thibaudcolas:master","ref":"master","sha":"2e231e451fdc4cba72d4c2384e2fe0dad7b7e88b","user":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"repo":{"id":123587399,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM1ODczOTk=","name":"draftail-playground","full_name":"thibaudcolas/draftail-playground","private":false,"owner":{"login":"thibaudcolas","id":877585,"node_id":"MDQ6VXNlcjg3NzU4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/877585?v=4","gravatar_id":"","url":"https://api.github.com/users/thibaudcolas","html_url":"https://github.com/thibaudcolas","followers_url":"https://api.github.com/users/thibaudcolas/followers","following_url":"https://api.github.com/users/thibaudcolas/following{/other_user}","gists_url":"https://api.github.com/users/thibaudcolas/gists{/gist_id}","starred_url":"https://api.github.com/users/thibaudcolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibaudcolas/subscriptions","organizations_url":"https://api.github.com/users/thibaudcolas/orgs","repos_url":"https://api.github.com/users/thibaudcolas/repos","events_url":"https://api.github.com/users/thibaudcolas/events{/privacy}","received_events_url":"https://api.github.com/users/thibaudcolas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/thibaudcolas/draftail-playground","description":"Try Draftail in a full-fledged preview environment","fork":false,"url":"https://api.github.com/repos/thibaudcolas/draftail-playground","forks_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/forks","keys_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/teams","hooks_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/hooks","issue_events_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/events{/number}","events_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/events","assignees_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/assignees{/user}","branches_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/branches{/branch}","tags_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/tags","blobs_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/refs{/sha}","trees_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/statuses/{sha}","languages_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/languages","stargazers_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/stargazers","contributors_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/contributors","subscribers_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/subscribers","subscription_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/subscription","commits_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/commits{/sha}","git_commits_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/git/commits{/sha}","comments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/comments{/number}","issue_comment_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/comments{/number}","contents_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/contents/{+path}","compare_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/merges","archive_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/downloads","issues_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues{/number}","pulls_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls{/number}","milestones_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/milestones{/number}","notifications_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/labels{/name}","releases_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/releases{/id}","deployments_url":"https://api.github.com/repos/thibaudcolas/draftail-playground/deployments","created_at":"2018-03-02T14:13:17Z","updated_at":"2018-08-18T12:34:24Z","pushed_at":"2018-10-10T22:29:25Z","git_url":"git://github.com/thibaudcolas/draftail-playground.git","ssh_url":"git@github.com:thibaudcolas/draftail-playground.git","clone_url":"https://github.com/thibaudcolas/draftail-playground.git","svn_url":"https://github.com/thibaudcolas/draftail-playground","homepage":"https://draftail-playground.herokuapp.com/","size":423,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4"},"html":{"href":"https://github.com/thibaudcolas/draftail-playground/pull/4"},"issue":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/4"},"comments":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/thibaudcolas/draftail-playground/statuses/c053e0e343d79ed736a674aa876db4a948192f1d"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":136,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"thibaudcolas"}}