{"action":"created","issue":{"url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/14","labels_url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/14/comments","events_url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/14/events","html_url":"https://github.com/harshasrinivas/cli-github/issues/14","id":93903130,"number":14,"title":"Use the requests library for all the requests.","user":{"login":"SanketDG","id":8980971,"avatar_url":"https://avatars.githubusercontent.com/u/8980971?v=3","gravatar_id":"","url":"https://api.github.com/users/SanketDG","html_url":"https://github.com/SanketDG","followers_url":"https://api.github.com/users/SanketDG/followers","following_url":"https://api.github.com/users/SanketDG/following{/other_user}","gists_url":"https://api.github.com/users/SanketDG/gists{/gist_id}","starred_url":"https://api.github.com/users/SanketDG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanketDG/subscriptions","organizations_url":"https://api.github.com/users/SanketDG/orgs","repos_url":"https://api.github.com/users/SanketDG/repos","events_url":"https://api.github.com/users/SanketDG/events{/privacy}","received_events_url":"https://api.github.com/users/SanketDG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/harshasrinivas/cli-github/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-08T22:18:51Z","updated_at":"2015-07-09T11:27:45Z","closed_at":null,"body":"[`requests`](http://docs.python-requests.org/en/latest/) is pretty popular. Please take a moment to understand its advantages, some of it being having a RESTful api and cross version compatibility, so you don't need to use `future`.\r\n\r\nMore information here: http://stackoverflow.com/a/14804320/3578554\r\n\r\nI could submit a pull request replacing `urllib` with `requests`, if this is okay with you."},"comment":{"url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/comments/119919604","html_url":"https://github.com/harshasrinivas/cli-github/issues/14#issuecomment-119919604","issue_url":"https://api.github.com/repos/harshasrinivas/cli-github/issues/14","id":119919604,"user":{"login":"SanketDG","id":8980971,"avatar_url":"https://avatars.githubusercontent.com/u/8980971?v=3","gravatar_id":"","url":"https://api.github.com/users/SanketDG","html_url":"https://github.com/SanketDG","followers_url":"https://api.github.com/users/SanketDG/followers","following_url":"https://api.github.com/users/SanketDG/following{/other_user}","gists_url":"https://api.github.com/users/SanketDG/gists{/gist_id}","starred_url":"https://api.github.com/users/SanketDG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanketDG/subscriptions","organizations_url":"https://api.github.com/users/SanketDG/orgs","repos_url":"https://api.github.com/users/SanketDG/repos","events_url":"https://api.github.com/users/SanketDG/events{/privacy}","received_events_url":"https://api.github.com/users/SanketDG/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T11:27:45Z","updated_at":"2015-07-09T11:27:45Z","body":"@harshasrinivas\r\nSorry for my bad choice of words, but I didn't mean anything about future at all, what I meant was the differences in `urllib`'s api for py2 and py3 and using `requests` really has a lot of advantages. I don't know why adding a dependency could be a big deal, plus `urllib` is pretty limited."}}