{"action":"created","issue":{"url":"https://api.github.com/repos/LiYChristopher/festify/issues/1","labels_url":"https://api.github.com/repos/LiYChristopher/festify/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/LiYChristopher/festify/issues/1/comments","events_url":"https://api.github.com/repos/LiYChristopher/festify/issues/1/events","html_url":"https://github.com/LiYChristopher/festify/pull/1","id":128373090,"number":1,"title":"Reducing to a single instance of Flask, some typos.","user":{"login":"LiYChristopher","id":8753561,"avatar_url":"https://avatars.githubusercontent.com/u/8753561?v=3","gravatar_id":"","url":"https://api.github.com/users/LiYChristopher","html_url":"https://github.com/LiYChristopher","followers_url":"https://api.github.com/users/LiYChristopher/followers","following_url":"https://api.github.com/users/LiYChristopher/following{/other_user}","gists_url":"https://api.github.com/users/LiYChristopher/gists{/gist_id}","starred_url":"https://api.github.com/users/LiYChristopher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiYChristopher/subscriptions","organizations_url":"https://api.github.com/users/LiYChristopher/orgs","repos_url":"https://api.github.com/users/LiYChristopher/repos","events_url":"https://api.github.com/users/LiYChristopher/events{/privacy}","received_events_url":"https://api.github.com/users/LiYChristopher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-24T04:54:33Z","updated_at":"2016-01-24T05:04:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LiYChristopher/festify/pulls/1","html_url":"https://github.com/LiYChristopher/festify/pull/1","diff_url":"https://github.com/LiYChristopher/festify/pull/1.diff","patch_url":"https://github.com/LiYChristopher/festify/pull/1.patch"},"body":"library/__init__.py\r\nline 3:\r\nCreating an instance of app here will allow it to be imported in and out of the library package, since it's instantiated immediately as the package is loaded.\r\n\r\nline 5:\r\nTo prevent circular imports\r\n\r\nlibrary/app.py\r\nline 22:\r\nspotipy.oauth2... object wasn't assigned to anything before, so it was basically floating about uselessly\r\n\r\nlibrary/auth.py\r\ngot rid of extra Flask instance (line 11), fixed some typos and stuff. Imported the instance we made in library.__init__\r\n\r\nrunserver.py\r\nGot rid of instance of Flask here, instead imported the one we instantiated up in library.__init__\r\n"},"comment":{"url":"https://api.github.com/repos/LiYChristopher/festify/issues/comments/174254359","html_url":"https://github.com/LiYChristopher/festify/pull/1#issuecomment-174254359","issue_url":"https://api.github.com/repos/LiYChristopher/festify/issues/1","id":174254359,"user":{"login":"andreshazard","id":10503083,"avatar_url":"https://avatars.githubusercontent.com/u/10503083?v=3","gravatar_id":"","url":"https://api.github.com/users/andreshazard","html_url":"https://github.com/andreshazard","followers_url":"https://api.github.com/users/andreshazard/followers","following_url":"https://api.github.com/users/andreshazard/following{/other_user}","gists_url":"https://api.github.com/users/andreshazard/gists{/gist_id}","starred_url":"https://api.github.com/users/andreshazard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreshazard/subscriptions","organizations_url":"https://api.github.com/users/andreshazard/orgs","repos_url":"https://api.github.com/users/andreshazard/repos","events_url":"https://api.github.com/users/andreshazard/events{/privacy}","received_events_url":"https://api.github.com/users/andreshazard/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T05:04:33Z","updated_at":"2016-01-24T05:04:33Z","body":"Looks good to me. "}}