{"action":"opened","issue":{"url":"https://api.github.com/repos/MIR-Directed-Research/intelligent-music-recommender/issues/21","repository_url":"https://api.github.com/repos/MIR-Directed-Research/intelligent-music-recommender","labels_url":"https://api.github.com/repos/MIR-Directed-Research/intelligent-music-recommender/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/MIR-Directed-Research/intelligent-music-recommender/issues/21/comments","events_url":"https://api.github.com/repos/MIR-Directed-Research/intelligent-music-recommender/issues/21/events","html_url":"https://github.com/MIR-Directed-Research/intelligent-music-recommender/issues/21","id":386699789,"node_id":"MDU6SXNzdWUzODY2OTk3ODk=","number":21,"title":"Improve Spotify Client","user":{"login":"jcgallegdup","id":13096220,"node_id":"MDQ6VXNlcjEzMDk2MjIw","avatar_url":"https://avatars0.githubusercontent.com/u/13096220?v=4","gravatar_id":"","url":"https://api.github.com/users/jcgallegdup","html_url":"https://github.com/jcgallegdup","followers_url":"https://api.github.com/users/jcgallegdup/followers","following_url":"https://api.github.com/users/jcgallegdup/following{/other_user}","gists_url":"https://api.github.com/users/jcgallegdup/gists{/gist_id}","starred_url":"https://api.github.com/users/jcgallegdup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcgallegdup/subscriptions","organizations_url":"https://api.github.com/users/jcgallegdup/orgs","repos_url":"https://api.github.com/users/jcgallegdup/repos","events_url":"https://api.github.com/users/jcgallegdup/events{/privacy}","received_events_url":"https://api.github.com/users/jcgallegdup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-03T08:01:18Z","updated_at":"2018-12-03T08:01:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- [ ] handle (don't raise) exception for Spotify Client API functions\r\n    - except the token one, that one _should_ throw an exception\r\n- [ ] handle Spotify's [error object](https://developer.spotify.com/documentation/web-api/#response-schema)\r\n- [ ] avoid refreshing token if not necessary (requires tracking token expiry date)\r\n    - saves an unnecessary request\r\n- [ ] look into batching requests to avoid unnecessary requests\r\n    - e.g. fetch data about multiple artists in single request"}}
{"actor":{"display_login":"jcgallegdup"}}