{"action":"created","comment":{"url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments/29295303","id":29295303,"diff_hunk":"@@ -0,0 +1,91 @@\n+# -*- coding: utf-8 -*-\n+import random\n+import string\n+import re\n+\n+from apiclient.discovery import build as youtube_api\n+\n+from amoki_music.settings.common import YOUTUBE_KEY","path":"source_modules/youtube/models.py","position":8,"original_position":8,"commit_id":"6582be654b137dc98c9e25de88655e7efa5530e9","original_commit_id":"6582be654b137dc98c9e25de88655e7efa5530e9","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"body":"from django.conf import settings","created_at":"2015-04-28T22:30:00Z","updated_at":"2015-04-28T22:30:00Z","html_url":"https://github.com/Amoki/Amoki-Music/pull/35#discussion_r29295303","pull_request_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments/29295303"},"html":{"href":"https://github.com/Amoki/Amoki-Music/pull/35#discussion_r29295303"},"pull_request":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35","id":31868400,"html_url":"https://github.com/Amoki/Amoki-Music/pull/35","diff_url":"https://github.com/Amoki/Amoki-Music/pull/35.diff","patch_url":"https://github.com/Amoki/Amoki-Music/pull/35.patch","issue_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/35","number":35,"state":"open","locked":false,"title":"ready for more providers","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-24T20:49:25Z","updated_at":"2015-04-28T22:30:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4a630cb56fa56c04c6b0d37428e5daebcfe582b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35/commits","review_comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35/comments","review_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/35/comments","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/6582be654b137dc98c9e25de88655e7efa5530e9","head":{"label":"Amoki:soundcloud","ref":"soundcloud","sha":"6582be654b137dc98c9e25de88655e7efa5530e9","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"repo":{"id":21140297,"name":"Amoki-Music","full_name":"Amoki/Amoki-Music","owner":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Amoki/Amoki-Music","description":"Open an url on the server (server by Django)","fork":false,"url":"https://api.github.com/repos/Amoki/Amoki-Music","forks_url":"https://api.github.com/repos/Amoki/Amoki-Music/forks","keys_url":"https://api.github.com/repos/Amoki/Amoki-Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amoki/Amoki-Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amoki/Amoki-Music/teams","hooks_url":"https://api.github.com/repos/Amoki/Amoki-Music/hooks","issue_events_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/events{/number}","events_url":"https://api.github.com/repos/Amoki/Amoki-Music/events","assignees_url":"https://api.github.com/repos/Amoki/Amoki-Music/assignees{/user}","branches_url":"https://api.github.com/repos/Amoki/Amoki-Music/branches{/branch}","tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/tags","blobs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/{sha}","languages_url":"https://api.github.com/repos/Amoki/Amoki-Music/languages","stargazers_url":"https://api.github.com/repos/Amoki/Amoki-Music/stargazers","contributors_url":"https://api.github.com/repos/Amoki/Amoki-Music/contributors","subscribers_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscribers","subscription_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscription","commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amoki/Amoki-Music/contents/{+path}","compare_url":"https://api.github.com/repos/Amoki/Amoki-Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amoki/Amoki-Music/merges","archive_url":"https://api.github.com/repos/Amoki/Amoki-Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amoki/Amoki-Music/downloads","issues_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues{/number}","pulls_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls{/number}","milestones_url":"https://api.github.com/repos/Amoki/Amoki-Music/milestones{/number}","notifications_url":"https://api.github.com/repos/Amoki/Amoki-Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amoki/Amoki-Music/labels{/name}","releases_url":"https://api.github.com/repos/Amoki/Amoki-Music/releases{/id}","created_at":"2014-06-23T19:57:42Z","updated_at":"2015-04-28T22:13:16Z","pushed_at":"2015-04-28T22:23:08Z","git_url":"git://github.com/Amoki/Amoki-Music.git","ssh_url":"git@github.com:Amoki/Amoki-Music.git","clone_url":"https://github.com/Amoki/Amoki-Music.git","svn_url":"https://github.com/Amoki/Amoki-Music","homepage":null,"size":18080,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Amoki:master","ref":"master","sha":"13565c77719e0c49bf16a775ef243e4b8fa73389","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"repo":{"id":21140297,"name":"Amoki-Music","full_name":"Amoki/Amoki-Music","owner":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Amoki/Amoki-Music","description":"Open an url on the server (server by Django)","fork":false,"url":"https://api.github.com/repos/Amoki/Amoki-Music","forks_url":"https://api.github.com/repos/Amoki/Amoki-Music/forks","keys_url":"https://api.github.com/repos/Amoki/Amoki-Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amoki/Amoki-Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amoki/Amoki-Music/teams","hooks_url":"https://api.github.com/repos/Amoki/Amoki-Music/hooks","issue_events_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/events{/number}","events_url":"https://api.github.com/repos/Amoki/Amoki-Music/events","assignees_url":"https://api.github.com/repos/Amoki/Amoki-Music/assignees{/user}","branches_url":"https://api.github.com/repos/Amoki/Amoki-Music/branches{/branch}","tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/tags","blobs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/{sha}","languages_url":"https://api.github.com/repos/Amoki/Amoki-Music/languages","stargazers_url":"https://api.github.com/repos/Amoki/Amoki-Music/stargazers","contributors_url":"https://api.github.com/repos/Amoki/Amoki-Music/contributors","subscribers_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscribers","subscription_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscription","commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amoki/Amoki-Music/contents/{+path}","compare_url":"https://api.github.com/repos/Amoki/Amoki-Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amoki/Amoki-Music/merges","archive_url":"https://api.github.com/repos/Amoki/Amoki-Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amoki/Amoki-Music/downloads","issues_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues{/number}","pulls_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls{/number}","milestones_url":"https://api.github.com/repos/Amoki/Amoki-Music/milestones{/number}","notifications_url":"https://api.github.com/repos/Amoki/Amoki-Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amoki/Amoki-Music/labels{/name}","releases_url":"https://api.github.com/repos/Amoki/Amoki-Music/releases{/id}","created_at":"2014-06-23T19:57:42Z","updated_at":"2015-04-28T22:13:16Z","pushed_at":"2015-04-28T22:23:08Z","git_url":"git://github.com/Amoki/Amoki-Music.git","ssh_url":"git@github.com:Amoki/Amoki-Music.git","clone_url":"https://github.com/Amoki/Amoki-Music.git","svn_url":"https://github.com/Amoki/Amoki-Music","homepage":null,"size":18080,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35"},"html":{"href":"https://github.com/Amoki/Amoki-Music/pull/35"},"issue":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/issues/35"},"comments":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/6582be654b137dc98c9e25de88655e7efa5530e9"}}}}