{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10","id":36937239,"html_url":"https://github.com/Vizzuality/cartodb-python/pull/10","diff_url":"https://github.com/Vizzuality/cartodb-python/pull/10.diff","patch_url":"https://github.com/Vizzuality/cartodb-python/pull/10.patch","issue_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/10","number":10,"state":"closed","locked":false,"title":"Use requests module to make API calls","user":{"login":"danicarrion","id":498023,"avatar_url":"https://avatars.githubusercontent.com/u/498023?v=3","gravatar_id":"","url":"https://api.github.com/users/danicarrion","html_url":"https://github.com/danicarrion","followers_url":"https://api.github.com/users/danicarrion/followers","following_url":"https://api.github.com/users/danicarrion/following{/other_user}","gists_url":"https://api.github.com/users/danicarrion/gists{/gist_id}","starred_url":"https://api.github.com/users/danicarrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicarrion/subscriptions","organizations_url":"https://api.github.com/users/danicarrion/orgs","repos_url":"https://api.github.com/users/danicarrion/repos","events_url":"https://api.github.com/users/danicarrion/events{/privacy}","received_events_url":"https://api.github.com/users/danicarrion/received_events","type":"User","site_admin":false},"body":"[requests](http://docs.python-requests.org/en/latest/) provides a much better way of making API calls, and I really need that for further improvements (like import API support, which is coming next, or named maps support, which will come later)\r\neverything is backward-compatible, and no changes have been made on the use of the classes/methods (yet)\r\n\r\nother improvements:\r\n* fixed proxy support\r\n* better and updated documentation\r\n* more complete .gitignore\r\n\r\ndrawbacks:\r\n* dropped 2.5 support, as current requests is only compatible with 2.6+","created_at":"2015-06-04T14:05:12Z","updated_at":"2015-06-04T14:14:05Z","closed_at":"2015-06-04T14:14:05Z","merged_at":"2015-06-04T14:14:05Z","merge_commit_sha":"db2d94db27be31ddbef68507ab216485ea4c7c7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/10/comments","statuses_url":"https://api.github.com/repos/Vizzuality/cartodb-python/statuses/52ea0ad196f865ad488ac59d0ef16378a1f0096e","head":{"label":"Vizzuality:requests","ref":"requests","sha":"52ea0ad196f865ad488ac59d0ef16378a1f0096e","user":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"repo":{"id":1631632,"name":"cartodb-python","full_name":"Vizzuality/cartodb-python","owner":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vizzuality/cartodb-python","description":"cartodb python client","fork":false,"url":"https://api.github.com/repos/Vizzuality/cartodb-python","forks_url":"https://api.github.com/repos/Vizzuality/cartodb-python/forks","keys_url":"https://api.github.com/repos/Vizzuality/cartodb-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vizzuality/cartodb-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vizzuality/cartodb-python/teams","hooks_url":"https://api.github.com/repos/Vizzuality/cartodb-python/hooks","issue_events_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/events{/number}","events_url":"https://api.github.com/repos/Vizzuality/cartodb-python/events","assignees_url":"https://api.github.com/repos/Vizzuality/cartodb-python/assignees{/user}","branches_url":"https://api.github.com/repos/Vizzuality/cartodb-python/branches{/branch}","tags_url":"https://api.github.com/repos/Vizzuality/cartodb-python/tags","blobs_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vizzuality/cartodb-python/statuses/{sha}","languages_url":"https://api.github.com/repos/Vizzuality/cartodb-python/languages","stargazers_url":"https://api.github.com/repos/Vizzuality/cartodb-python/stargazers","contributors_url":"https://api.github.com/repos/Vizzuality/cartodb-python/contributors","subscribers_url":"https://api.github.com/repos/Vizzuality/cartodb-python/subscribers","subscription_url":"https://api.github.com/repos/Vizzuality/cartodb-python/subscription","commits_url":"https://api.github.com/repos/Vizzuality/cartodb-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vizzuality/cartodb-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vizzuality/cartodb-python/contents/{+path}","compare_url":"https://api.github.com/repos/Vizzuality/cartodb-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vizzuality/cartodb-python/merges","archive_url":"https://api.github.com/repos/Vizzuality/cartodb-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vizzuality/cartodb-python/downloads","issues_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues{/number}","pulls_url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls{/number}","milestones_url":"https://api.github.com/repos/Vizzuality/cartodb-python/milestones{/number}","notifications_url":"https://api.github.com/repos/Vizzuality/cartodb-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vizzuality/cartodb-python/labels{/name}","releases_url":"https://api.github.com/repos/Vizzuality/cartodb-python/releases{/id}","created_at":"2011-04-18T17:20:01Z","updated_at":"2015-04-07T15:12:28Z","pushed_at":"2015-06-04T14:14:05Z","git_url":"git://github.com/Vizzuality/cartodb-python.git","ssh_url":"git@github.com:Vizzuality/cartodb-python.git","clone_url":"https://github.com/Vizzuality/cartodb-python.git","svn_url":"https://github.com/Vizzuality/cartodb-python","homepage":"cartodb.com","size":206,"stargazers_count":51,"watchers_count":51,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":2,"forks":28,"open_issues":2,"watchers":51,"default_branch":"master"}},"base":{"label":"Vizzuality:master","ref":"master","sha":"368cf43680b3bb92dd634cfd6737578239c4693a","user":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"repo":{"id":1631632,"name":"cartodb-python","full_name":"Vizzuality/cartodb-python","owner":{"login":"Vizzuality","id":305994,"avatar_url":"https://avatars.githubusercontent.com/u/305994?v=3","gravatar_id":"","url":"https://api.github.com/users/Vizzuality","html_url":"https://github.com/Vizzuality","followers_url":"https://api.github.com/users/Vizzuality/followers","following_url":"https://api.github.com/users/Vizzuality/following{/other_user}","gists_url":"https://api.github.com/users/Vizzuality/gists{/gist_id}","starred_url":"https://api.github.com/users/Vizzuality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vizzuality/subscriptions","organizations_url":"https://api.github.com/users/Vizzuality/orgs","repos_url":"https://api.github.com/users/Vizzuality/repos","events_url":"https://api.github.com/users/Vizzuality/events{/privacy}","received_events_url":"https://api.github.com/users/Vizzuality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vizzuality/cartodb-python","description":"cartodb python client","fork":false,"url":"https://api.github.com/repos/Vizzuality/cartodb-python","forks_url":"https://api.github.com/repos/Vizzuality/cartodb-python/forks","keys_url":"https://api.github.com/repos/Vizzuality/cartodb-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vizzuality/cartodb-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vizzuality/cartodb-python/teams","hooks_url":"https://api.github.com/repos/Vizzuality/cartodb-python/hooks","issue_events_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/events{/number}","events_url":"https://api.github.com/repos/Vizzuality/cartodb-python/events","assignees_url":"https://api.github.com/repos/Vizzuality/cartodb-python/assignees{/user}","branches_url":"https://api.github.com/repos/Vizzuality/cartodb-python/branches{/branch}","tags_url":"https://api.github.com/repos/Vizzuality/cartodb-python/tags","blobs_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vizzuality/cartodb-python/statuses/{sha}","languages_url":"https://api.github.com/repos/Vizzuality/cartodb-python/languages","stargazers_url":"https://api.github.com/repos/Vizzuality/cartodb-python/stargazers","contributors_url":"https://api.github.com/repos/Vizzuality/cartodb-python/contributors","subscribers_url":"https://api.github.com/repos/Vizzuality/cartodb-python/subscribers","subscription_url":"https://api.github.com/repos/Vizzuality/cartodb-python/subscription","commits_url":"https://api.github.com/repos/Vizzuality/cartodb-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vizzuality/cartodb-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vizzuality/cartodb-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vizzuality/cartodb-python/contents/{+path}","compare_url":"https://api.github.com/repos/Vizzuality/cartodb-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vizzuality/cartodb-python/merges","archive_url":"https://api.github.com/repos/Vizzuality/cartodb-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vizzuality/cartodb-python/downloads","issues_url":"https://api.github.com/repos/Vizzuality/cartodb-python/issues{/number}","pulls_url":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls{/number}","milestones_url":"https://api.github.com/repos/Vizzuality/cartodb-python/milestones{/number}","notifications_url":"https://api.github.com/repos/Vizzuality/cartodb-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vizzuality/cartodb-python/labels{/name}","releases_url":"https://api.github.com/repos/Vizzuality/cartodb-python/releases{/id}","created_at":"2011-04-18T17:20:01Z","updated_at":"2015-04-07T15:12:28Z","pushed_at":"2015-06-04T14:14:05Z","git_url":"git://github.com/Vizzuality/cartodb-python.git","ssh_url":"git@github.com:Vizzuality/cartodb-python.git","clone_url":"https://github.com/Vizzuality/cartodb-python.git","svn_url":"https://github.com/Vizzuality/cartodb-python","homepage":"cartodb.com","size":206,"stargazers_count":51,"watchers_count":51,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":2,"forks":28,"open_issues":2,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10"},"html":{"href":"https://github.com/Vizzuality/cartodb-python/pull/10"},"issue":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/10"},"comments":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Vizzuality/cartodb-python/statuses/52ea0ad196f865ad488ac59d0ef16378a1f0096e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"danicarrion","id":498023,"avatar_url":"https://avatars.githubusercontent.com/u/498023?v=3","gravatar_id":"","url":"https://api.github.com/users/danicarrion","html_url":"https://github.com/danicarrion","followers_url":"https://api.github.com/users/danicarrion/followers","following_url":"https://api.github.com/users/danicarrion/following{/other_user}","gists_url":"https://api.github.com/users/danicarrion/gists{/gist_id}","starred_url":"https://api.github.com/users/danicarrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicarrion/subscriptions","organizations_url":"https://api.github.com/users/danicarrion/orgs","repos_url":"https://api.github.com/users/danicarrion/repos","events_url":"https://api.github.com/users/danicarrion/events{/privacy}","received_events_url":"https://api.github.com/users/danicarrion/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":235,"deletions":77,"changed_files":4}}