{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/banditi/spend-ya/pulls/2","id":60998379,"html_url":"https://github.com/banditi/spend-ya/pull/2","diff_url":"https://github.com/banditi/spend-ya/pull/2.diff","patch_url":"https://github.com/banditi/spend-ya/pull/2.patch","issue_url":"https://api.github.com/repos/banditi/spend-ya/issues/2","number":2,"state":"open","locked":false,"title":"Auth to Ya.Money","user":{"login":"sigorilla","id":1208639,"avatar_url":"https://avatars.githubusercontent.com/u/1208639?v=3","gravatar_id":"","url":"https://api.github.com/users/sigorilla","html_url":"https://github.com/sigorilla","followers_url":"https://api.github.com/users/sigorilla/followers","following_url":"https://api.github.com/users/sigorilla/following{/other_user}","gists_url":"https://api.github.com/users/sigorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/sigorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigorilla/subscriptions","organizations_url":"https://api.github.com/users/sigorilla/orgs","repos_url":"https://api.github.com/users/sigorilla/repos","events_url":"https://api.github.com/users/sigorilla/events{/privacy}","received_events_url":"https://api.github.com/users/sigorilla/received_events","type":"User","site_admin":false},"body":"@Nipel-Crumple Посмотри\r\n\r\nКак буду мержить, надо будет создать приложение в я.Деньгах, и добавить в `config vars` две переменные: `MONEY_CLIENT_ID` и `MONEY_REDIRECT_URI`.\r\n\r\nБазу надо будет смегрировать:\r\n\r\n```sh\r\nheroku run python manage.py migrate --app APP_NAME\r\n```\r\n\r\nАвторизация по ссылке `/money/`.\r\nРедирект: `/money/callback/`.\r\n\r\nStand: https://ya-money-feature.herokuapp.com/money/","created_at":"2016-02-28T17:11:17Z","updated_at":"2016-02-28T17:11:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/banditi/spend-ya/pulls/2/commits","review_comments_url":"https://api.github.com/repos/banditi/spend-ya/pulls/2/comments","review_comment_url":"https://api.github.com/repos/banditi/spend-ya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/banditi/spend-ya/issues/2/comments","statuses_url":"https://api.github.com/repos/banditi/spend-ya/statuses/e2eb621492e90adf84a1aa374a51189f67d46baf","head":{"label":"banditi:feature-ya-money","ref":"feature-ya-money","sha":"e2eb621492e90adf84a1aa374a51189f67d46baf","user":{"login":"banditi","id":9680314,"avatar_url":"https://avatars.githubusercontent.com/u/9680314?v=3","gravatar_id":"","url":"https://api.github.com/users/banditi","html_url":"https://github.com/banditi","followers_url":"https://api.github.com/users/banditi/followers","following_url":"https://api.github.com/users/banditi/following{/other_user}","gists_url":"https://api.github.com/users/banditi/gists{/gist_id}","starred_url":"https://api.github.com/users/banditi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banditi/subscriptions","organizations_url":"https://api.github.com/users/banditi/orgs","repos_url":"https://api.github.com/users/banditi/repos","events_url":"https://api.github.com/users/banditi/events{/privacy}","received_events_url":"https://api.github.com/users/banditi/received_events","type":"Organization","site_admin":false},"repo":{"id":52620008,"name":"spend-ya","full_name":"banditi/spend-ya","owner":{"login":"banditi","id":9680314,"avatar_url":"https://avatars.githubusercontent.com/u/9680314?v=3","gravatar_id":"","url":"https://api.github.com/users/banditi","html_url":"https://github.com/banditi","followers_url":"https://api.github.com/users/banditi/followers","following_url":"https://api.github.com/users/banditi/following{/other_user}","gists_url":"https://api.github.com/users/banditi/gists{/gist_id}","starred_url":"https://api.github.com/users/banditi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banditi/subscriptions","organizations_url":"https://api.github.com/users/banditi/orgs","repos_url":"https://api.github.com/users/banditi/repos","events_url":"https://api.github.com/users/banditi/events{/privacy}","received_events_url":"https://api.github.com/users/banditi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/banditi/spend-ya","description":"Telegram bot for Ya.Hack","fork":false,"url":"https://api.github.com/repos/banditi/spend-ya","forks_url":"https://api.github.com/repos/banditi/spend-ya/forks","keys_url":"https://api.github.com/repos/banditi/spend-ya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/banditi/spend-ya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/banditi/spend-ya/teams","hooks_url":"https://api.github.com/repos/banditi/spend-ya/hooks","issue_events_url":"https://api.github.com/repos/banditi/spend-ya/issues/events{/number}","events_url":"https://api.github.com/repos/banditi/spend-ya/events","assignees_url":"https://api.github.com/repos/banditi/spend-ya/assignees{/user}","branches_url":"https://api.github.com/repos/banditi/spend-ya/branches{/branch}","tags_url":"https://api.github.com/repos/banditi/spend-ya/tags","blobs_url":"https://api.github.com/repos/banditi/spend-ya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/banditi/spend-ya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/banditi/spend-ya/git/refs{/sha}","trees_url":"https://api.github.com/repos/banditi/spend-ya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/banditi/spend-ya/statuses/{sha}","languages_url":"https://api.github.com/repos/banditi/spend-ya/languages","stargazers_url":"https://api.github.com/repos/banditi/spend-ya/stargazers","contributors_url":"https://api.github.com/repos/banditi/spend-ya/contributors","subscribers_url":"https://api.github.com/repos/banditi/spend-ya/subscribers","subscription_url":"https://api.github.com/repos/banditi/spend-ya/subscription","commits_url":"https://api.github.com/repos/banditi/spend-ya/commits{/sha}","git_commits_url":"https://api.github.com/repos/banditi/spend-ya/git/commits{/sha}","comments_url":"https://api.github.com/repos/banditi/spend-ya/comments{/number}","issue_comment_url":"https://api.github.com/repos/banditi/spend-ya/issues/comments{/number}","contents_url":"https://api.github.com/repos/banditi/spend-ya/contents/{+path}","compare_url":"https://api.github.com/repos/banditi/spend-ya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/banditi/spend-ya/merges","archive_url":"https://api.github.com/repos/banditi/spend-ya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/banditi/spend-ya/downloads","issues_url":"https://api.github.com/repos/banditi/spend-ya/issues{/number}","pulls_url":"https://api.github.com/repos/banditi/spend-ya/pulls{/number}","milestones_url":"https://api.github.com/repos/banditi/spend-ya/milestones{/number}","notifications_url":"https://api.github.com/repos/banditi/spend-ya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/banditi/spend-ya/labels{/name}","releases_url":"https://api.github.com/repos/banditi/spend-ya/releases{/id}","deployments_url":"https://api.github.com/repos/banditi/spend-ya/deployments","created_at":"2016-02-26T17:11:18Z","updated_at":"2016-02-27T15:26:49Z","pushed_at":"2016-02-28T16:57:04Z","git_url":"git://github.com/banditi/spend-ya.git","ssh_url":"git@github.com:banditi/spend-ya.git","clone_url":"https://github.com/banditi/spend-ya.git","svn_url":"https://github.com/banditi/spend-ya","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"banditi:dev","ref":"dev","sha":"648074a40dcbcf5ad76640a22028552ca451d75b","user":{"login":"banditi","id":9680314,"avatar_url":"https://avatars.githubusercontent.com/u/9680314?v=3","gravatar_id":"","url":"https://api.github.com/users/banditi","html_url":"https://github.com/banditi","followers_url":"https://api.github.com/users/banditi/followers","following_url":"https://api.github.com/users/banditi/following{/other_user}","gists_url":"https://api.github.com/users/banditi/gists{/gist_id}","starred_url":"https://api.github.com/users/banditi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banditi/subscriptions","organizations_url":"https://api.github.com/users/banditi/orgs","repos_url":"https://api.github.com/users/banditi/repos","events_url":"https://api.github.com/users/banditi/events{/privacy}","received_events_url":"https://api.github.com/users/banditi/received_events","type":"Organization","site_admin":false},"repo":{"id":52620008,"name":"spend-ya","full_name":"banditi/spend-ya","owner":{"login":"banditi","id":9680314,"avatar_url":"https://avatars.githubusercontent.com/u/9680314?v=3","gravatar_id":"","url":"https://api.github.com/users/banditi","html_url":"https://github.com/banditi","followers_url":"https://api.github.com/users/banditi/followers","following_url":"https://api.github.com/users/banditi/following{/other_user}","gists_url":"https://api.github.com/users/banditi/gists{/gist_id}","starred_url":"https://api.github.com/users/banditi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banditi/subscriptions","organizations_url":"https://api.github.com/users/banditi/orgs","repos_url":"https://api.github.com/users/banditi/repos","events_url":"https://api.github.com/users/banditi/events{/privacy}","received_events_url":"https://api.github.com/users/banditi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/banditi/spend-ya","description":"Telegram bot for Ya.Hack","fork":false,"url":"https://api.github.com/repos/banditi/spend-ya","forks_url":"https://api.github.com/repos/banditi/spend-ya/forks","keys_url":"https://api.github.com/repos/banditi/spend-ya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/banditi/spend-ya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/banditi/spend-ya/teams","hooks_url":"https://api.github.com/repos/banditi/spend-ya/hooks","issue_events_url":"https://api.github.com/repos/banditi/spend-ya/issues/events{/number}","events_url":"https://api.github.com/repos/banditi/spend-ya/events","assignees_url":"https://api.github.com/repos/banditi/spend-ya/assignees{/user}","branches_url":"https://api.github.com/repos/banditi/spend-ya/branches{/branch}","tags_url":"https://api.github.com/repos/banditi/spend-ya/tags","blobs_url":"https://api.github.com/repos/banditi/spend-ya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/banditi/spend-ya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/banditi/spend-ya/git/refs{/sha}","trees_url":"https://api.github.com/repos/banditi/spend-ya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/banditi/spend-ya/statuses/{sha}","languages_url":"https://api.github.com/repos/banditi/spend-ya/languages","stargazers_url":"https://api.github.com/repos/banditi/spend-ya/stargazers","contributors_url":"https://api.github.com/repos/banditi/spend-ya/contributors","subscribers_url":"https://api.github.com/repos/banditi/spend-ya/subscribers","subscription_url":"https://api.github.com/repos/banditi/spend-ya/subscription","commits_url":"https://api.github.com/repos/banditi/spend-ya/commits{/sha}","git_commits_url":"https://api.github.com/repos/banditi/spend-ya/git/commits{/sha}","comments_url":"https://api.github.com/repos/banditi/spend-ya/comments{/number}","issue_comment_url":"https://api.github.com/repos/banditi/spend-ya/issues/comments{/number}","contents_url":"https://api.github.com/repos/banditi/spend-ya/contents/{+path}","compare_url":"https://api.github.com/repos/banditi/spend-ya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/banditi/spend-ya/merges","archive_url":"https://api.github.com/repos/banditi/spend-ya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/banditi/spend-ya/downloads","issues_url":"https://api.github.com/repos/banditi/spend-ya/issues{/number}","pulls_url":"https://api.github.com/repos/banditi/spend-ya/pulls{/number}","milestones_url":"https://api.github.com/repos/banditi/spend-ya/milestones{/number}","notifications_url":"https://api.github.com/repos/banditi/spend-ya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/banditi/spend-ya/labels{/name}","releases_url":"https://api.github.com/repos/banditi/spend-ya/releases{/id}","deployments_url":"https://api.github.com/repos/banditi/spend-ya/deployments","created_at":"2016-02-26T17:11:18Z","updated_at":"2016-02-27T15:26:49Z","pushed_at":"2016-02-28T16:57:04Z","git_url":"git://github.com/banditi/spend-ya.git","ssh_url":"git@github.com:banditi/spend-ya.git","clone_url":"https://github.com/banditi/spend-ya.git","svn_url":"https://github.com/banditi/spend-ya","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/banditi/spend-ya/pulls/2"},"html":{"href":"https://github.com/banditi/spend-ya/pull/2"},"issue":{"href":"https://api.github.com/repos/banditi/spend-ya/issues/2"},"comments":{"href":"https://api.github.com/repos/banditi/spend-ya/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/banditi/spend-ya/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/banditi/spend-ya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/banditi/spend-ya/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/banditi/spend-ya/statuses/e2eb621492e90adf84a1aa374a51189f67d46baf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":161,"deletions":3,"changed_files":15}}