{"action":"created","comment":{"url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/comments/84284036","pull_request_review_id":5070430,"id":84284036,"diff_hunk":"@@ -74,26 +74,19 @@ def hotel_reviews(self, hotelId, summary, sortBy, start, items, categoryFilter):\n     Start cars API\n     \"\"\"\n \n-    def cars_search(self, pickupDate, dropoffDate, pickupLocation, dropoffLocation, sort, limit, suppliers, classes):\n-        url = \"http://terminal2.expedia.com:80/x/cars/search?\"\n-        if pickupDate is not None:\n-            url += \"pickupdate=\" + pickupDate\n-        if dropoffDate is not None:\n-            url += \"&dropoffdate=\" + dropoffDate\n-        if pickupLocation is not None:\n-            url += \"&pickuplocation=\" + pickupLocation\n-        if dropoffLocation is not None:\n-            url += \"&dropofflocation=\" + dropoffLocation\n-        if sort is not None:\n-            url += \"&sort=\" + sort\n-        if limit is not None:\n-            url += \"&limit=\" + str(limit)\n-        if suppliers is not None:\n-            url += \"&suppliers=\" + suppliers\n-        if classes is not None:\n-            url += \"&classes=\" + classes\n-        url = url + \"&apikey=\" + self.apiKey\n-        return self.get(url)\n+    def cars_search(self, pickupDate = None, dropoffDate = None, pickupLocation = None, dropoffLocation = None, sort = None, limit = None, suppliers = None, classes = None):\n+        payload = {}\n+        url = \"http://terminal2.expedia.com:80/x/cars/search\"\n+        payload['pickupdate'] = pickupdate","path":"expediaRequester/requester.py","position":137,"original_position":137,"commit_id":"ed580783a8ac1eccc21f1c46405dbc0727b629fa","original_commit_id":"ed580783a8ac1eccc21f1c46405dbc0727b629fa","user":{"login":"NimitS1","id":1091563,"avatar_url":"https://avatars.githubusercontent.com/u/1091563?v=3","gravatar_id":"","url":"https://api.github.com/users/NimitS1","html_url":"https://github.com/NimitS1","followers_url":"https://api.github.com/users/NimitS1/followers","following_url":"https://api.github.com/users/NimitS1/following{/other_user}","gists_url":"https://api.github.com/users/NimitS1/gists{/gist_id}","starred_url":"https://api.github.com/users/NimitS1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimitS1/subscriptions","organizations_url":"https://api.github.com/users/NimitS1/orgs","repos_url":"https://api.github.com/users/NimitS1/repos","events_url":"https://api.github.com/users/NimitS1/events{/privacy}","received_events_url":"https://api.github.com/users/NimitS1/received_events","type":"User","site_admin":false},"body":"It should be payload['pickupdate'] = pickupDate","created_at":"2016-10-20T13:40:00Z","updated_at":"2016-10-20T13:41:22Z","html_url":"https://github.com/NimitS1/expediaRequester/pull/2#discussion_r84284036","pull_request_url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/comments/84284036"},"html":{"href":"https://github.com/NimitS1/expediaRequester/pull/2#discussion_r84284036"},"pull_request":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2","id":89711212,"html_url":"https://github.com/NimitS1/expediaRequester/pull/2","diff_url":"https://github.com/NimitS1/expediaRequester/pull/2.diff","patch_url":"https://github.com/NimitS1/expediaRequester/pull/2.patch","issue_url":"https://api.github.com/repos/NimitS1/expediaRequester/issues/2","number":2,"state":"open","locked":false,"title":"updating the requester.py","user":{"login":"abit2","id":13659516,"avatar_url":"https://avatars.githubusercontent.com/u/13659516?v=3","gravatar_id":"","url":"https://api.github.com/users/abit2","html_url":"https://github.com/abit2","followers_url":"https://api.github.com/users/abit2/followers","following_url":"https://api.github.com/users/abit2/following{/other_user}","gists_url":"https://api.github.com/users/abit2/gists{/gist_id}","starred_url":"https://api.github.com/users/abit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abit2/subscriptions","organizations_url":"https://api.github.com/users/abit2/orgs","repos_url":"https://api.github.com/users/abit2/repos","events_url":"https://api.github.com/users/abit2/events{/privacy}","received_events_url":"https://api.github.com/users/abit2/received_events","type":"User","site_admin":false},"body":"https://github.com/NimitS1/expediaRequester/issues/1 ","created_at":"2016-10-17T21:56:31Z","updated_at":"2016-10-20T13:41:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4add25766e9a9074506c042655dcaca17820cb5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2/commits","review_comments_url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2/comments","review_comment_url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NimitS1/expediaRequester/issues/2/comments","statuses_url":"https://api.github.com/repos/NimitS1/expediaRequester/statuses/ed580783a8ac1eccc21f1c46405dbc0727b629fa","head":{"label":"abit2:master","ref":"master","sha":"ed580783a8ac1eccc21f1c46405dbc0727b629fa","user":{"login":"abit2","id":13659516,"avatar_url":"https://avatars.githubusercontent.com/u/13659516?v=3","gravatar_id":"","url":"https://api.github.com/users/abit2","html_url":"https://github.com/abit2","followers_url":"https://api.github.com/users/abit2/followers","following_url":"https://api.github.com/users/abit2/following{/other_user}","gists_url":"https://api.github.com/users/abit2/gists{/gist_id}","starred_url":"https://api.github.com/users/abit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abit2/subscriptions","organizations_url":"https://api.github.com/users/abit2/orgs","repos_url":"https://api.github.com/users/abit2/repos","events_url":"https://api.github.com/users/abit2/events{/privacy}","received_events_url":"https://api.github.com/users/abit2/received_events","type":"User","site_admin":false},"repo":{"id":71176651,"name":"expediaRequester","full_name":"abit2/expediaRequester","owner":{"login":"abit2","id":13659516,"avatar_url":"https://avatars.githubusercontent.com/u/13659516?v=3","gravatar_id":"","url":"https://api.github.com/users/abit2","html_url":"https://github.com/abit2","followers_url":"https://api.github.com/users/abit2/followers","following_url":"https://api.github.com/users/abit2/following{/other_user}","gists_url":"https://api.github.com/users/abit2/gists{/gist_id}","starred_url":"https://api.github.com/users/abit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abit2/subscriptions","organizations_url":"https://api.github.com/users/abit2/orgs","repos_url":"https://api.github.com/users/abit2/repos","events_url":"https://api.github.com/users/abit2/events{/privacy}","received_events_url":"https://api.github.com/users/abit2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abit2/expediaRequester","description":"Python wrapper for Expedia API","fork":true,"url":"https://api.github.com/repos/abit2/expediaRequester","forks_url":"https://api.github.com/repos/abit2/expediaRequester/forks","keys_url":"https://api.github.com/repos/abit2/expediaRequester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abit2/expediaRequester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abit2/expediaRequester/teams","hooks_url":"https://api.github.com/repos/abit2/expediaRequester/hooks","issue_events_url":"https://api.github.com/repos/abit2/expediaRequester/issues/events{/number}","events_url":"https://api.github.com/repos/abit2/expediaRequester/events","assignees_url":"https://api.github.com/repos/abit2/expediaRequester/assignees{/user}","branches_url":"https://api.github.com/repos/abit2/expediaRequester/branches{/branch}","tags_url":"https://api.github.com/repos/abit2/expediaRequester/tags","blobs_url":"https://api.github.com/repos/abit2/expediaRequester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abit2/expediaRequester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abit2/expediaRequester/git/refs{/sha}","trees_url":"https://api.github.com/repos/abit2/expediaRequester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abit2/expediaRequester/statuses/{sha}","languages_url":"https://api.github.com/repos/abit2/expediaRequester/languages","stargazers_url":"https://api.github.com/repos/abit2/expediaRequester/stargazers","contributors_url":"https://api.github.com/repos/abit2/expediaRequester/contributors","subscribers_url":"https://api.github.com/repos/abit2/expediaRequester/subscribers","subscription_url":"https://api.github.com/repos/abit2/expediaRequester/subscription","commits_url":"https://api.github.com/repos/abit2/expediaRequester/commits{/sha}","git_commits_url":"https://api.github.com/repos/abit2/expediaRequester/git/commits{/sha}","comments_url":"https://api.github.com/repos/abit2/expediaRequester/comments{/number}","issue_comment_url":"https://api.github.com/repos/abit2/expediaRequester/issues/comments{/number}","contents_url":"https://api.github.com/repos/abit2/expediaRequester/contents/{+path}","compare_url":"https://api.github.com/repos/abit2/expediaRequester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abit2/expediaRequester/merges","archive_url":"https://api.github.com/repos/abit2/expediaRequester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abit2/expediaRequester/downloads","issues_url":"https://api.github.com/repos/abit2/expediaRequester/issues{/number}","pulls_url":"https://api.github.com/repos/abit2/expediaRequester/pulls{/number}","milestones_url":"https://api.github.com/repos/abit2/expediaRequester/milestones{/number}","notifications_url":"https://api.github.com/repos/abit2/expediaRequester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abit2/expediaRequester/labels{/name}","releases_url":"https://api.github.com/repos/abit2/expediaRequester/releases{/id}","deployments_url":"https://api.github.com/repos/abit2/expediaRequester/deployments","created_at":"2016-10-17T20:06:32Z","updated_at":"2016-10-17T20:06:33Z","pushed_at":"2016-10-19T18:25:20Z","git_url":"git://github.com/abit2/expediaRequester.git","ssh_url":"git@github.com:abit2/expediaRequester.git","clone_url":"https://github.com/abit2/expediaRequester.git","svn_url":"https://github.com/abit2/expediaRequester","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NimitS1:master","ref":"master","sha":"e8e112b11e43ebe931218e3494a583cd14570a5a","user":{"login":"NimitS1","id":1091563,"avatar_url":"https://avatars.githubusercontent.com/u/1091563?v=3","gravatar_id":"","url":"https://api.github.com/users/NimitS1","html_url":"https://github.com/NimitS1","followers_url":"https://api.github.com/users/NimitS1/followers","following_url":"https://api.github.com/users/NimitS1/following{/other_user}","gists_url":"https://api.github.com/users/NimitS1/gists{/gist_id}","starred_url":"https://api.github.com/users/NimitS1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimitS1/subscriptions","organizations_url":"https://api.github.com/users/NimitS1/orgs","repos_url":"https://api.github.com/users/NimitS1/repos","events_url":"https://api.github.com/users/NimitS1/events{/privacy}","received_events_url":"https://api.github.com/users/NimitS1/received_events","type":"User","site_admin":false},"repo":{"id":69991486,"name":"expediaRequester","full_name":"NimitS1/expediaRequester","owner":{"login":"NimitS1","id":1091563,"avatar_url":"https://avatars.githubusercontent.com/u/1091563?v=3","gravatar_id":"","url":"https://api.github.com/users/NimitS1","html_url":"https://github.com/NimitS1","followers_url":"https://api.github.com/users/NimitS1/followers","following_url":"https://api.github.com/users/NimitS1/following{/other_user}","gists_url":"https://api.github.com/users/NimitS1/gists{/gist_id}","starred_url":"https://api.github.com/users/NimitS1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimitS1/subscriptions","organizations_url":"https://api.github.com/users/NimitS1/orgs","repos_url":"https://api.github.com/users/NimitS1/repos","events_url":"https://api.github.com/users/NimitS1/events{/privacy}","received_events_url":"https://api.github.com/users/NimitS1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NimitS1/expediaRequester","description":"Python wrapper for Expedia API","fork":false,"url":"https://api.github.com/repos/NimitS1/expediaRequester","forks_url":"https://api.github.com/repos/NimitS1/expediaRequester/forks","keys_url":"https://api.github.com/repos/NimitS1/expediaRequester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NimitS1/expediaRequester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NimitS1/expediaRequester/teams","hooks_url":"https://api.github.com/repos/NimitS1/expediaRequester/hooks","issue_events_url":"https://api.github.com/repos/NimitS1/expediaRequester/issues/events{/number}","events_url":"https://api.github.com/repos/NimitS1/expediaRequester/events","assignees_url":"https://api.github.com/repos/NimitS1/expediaRequester/assignees{/user}","branches_url":"https://api.github.com/repos/NimitS1/expediaRequester/branches{/branch}","tags_url":"https://api.github.com/repos/NimitS1/expediaRequester/tags","blobs_url":"https://api.github.com/repos/NimitS1/expediaRequester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NimitS1/expediaRequester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NimitS1/expediaRequester/git/refs{/sha}","trees_url":"https://api.github.com/repos/NimitS1/expediaRequester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NimitS1/expediaRequester/statuses/{sha}","languages_url":"https://api.github.com/repos/NimitS1/expediaRequester/languages","stargazers_url":"https://api.github.com/repos/NimitS1/expediaRequester/stargazers","contributors_url":"https://api.github.com/repos/NimitS1/expediaRequester/contributors","subscribers_url":"https://api.github.com/repos/NimitS1/expediaRequester/subscribers","subscription_url":"https://api.github.com/repos/NimitS1/expediaRequester/subscription","commits_url":"https://api.github.com/repos/NimitS1/expediaRequester/commits{/sha}","git_commits_url":"https://api.github.com/repos/NimitS1/expediaRequester/git/commits{/sha}","comments_url":"https://api.github.com/repos/NimitS1/expediaRequester/comments{/number}","issue_comment_url":"https://api.github.com/repos/NimitS1/expediaRequester/issues/comments{/number}","contents_url":"https://api.github.com/repos/NimitS1/expediaRequester/contents/{+path}","compare_url":"https://api.github.com/repos/NimitS1/expediaRequester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NimitS1/expediaRequester/merges","archive_url":"https://api.github.com/repos/NimitS1/expediaRequester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NimitS1/expediaRequester/downloads","issues_url":"https://api.github.com/repos/NimitS1/expediaRequester/issues{/number}","pulls_url":"https://api.github.com/repos/NimitS1/expediaRequester/pulls{/number}","milestones_url":"https://api.github.com/repos/NimitS1/expediaRequester/milestones{/number}","notifications_url":"https://api.github.com/repos/NimitS1/expediaRequester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NimitS1/expediaRequester/labels{/name}","releases_url":"https://api.github.com/repos/NimitS1/expediaRequester/releases{/id}","deployments_url":"https://api.github.com/repos/NimitS1/expediaRequester/deployments","created_at":"2016-10-04T18:00:02Z","updated_at":"2016-10-15T15:35:34Z","pushed_at":"2016-10-19T18:25:20Z","git_url":"git://github.com/NimitS1/expediaRequester.git","ssh_url":"git@github.com:NimitS1/expediaRequester.git","clone_url":"https://github.com/NimitS1/expediaRequester.git","svn_url":"https://github.com/NimitS1/expediaRequester","homepage":null,"size":16,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2"},"html":{"href":"https://github.com/NimitS1/expediaRequester/pull/2"},"issue":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/issues/2"},"comments":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/NimitS1/expediaRequester/statuses/ed580783a8ac1eccc21f1c46405dbc0727b629fa"}}}}
{"actor":{"display_login":"NimitS1"}}