{"action":"created","comment":{"url":"https://api.github.com/repos/asamat/python_marketo/pulls/comments/30255711","id":30255711,"diff_hunk":"@@ -236,7 +237,43 @@ def create_lead(self, lookupField, lookupValue, values):\n             ]\n         }\n         return self.post(data)\n+    \n+    def run_request_campaign(self,campaignID,leadsID,values):\n+        def add_curly(k):\n+           return '{{'+k+'}}' ","path":"pythonmarketo/client.py","position":15,"original_position":15,"commit_id":"3b1177a37575695a22d01952e99aac06b8fe0648","original_commit_id":"3b1177a37575695a22d01952e99aac06b8fe0648","user":{"login":"asamat","id":3454856,"avatar_url":"https://avatars.githubusercontent.com/u/3454856?v=3","gravatar_id":"","url":"https://api.github.com/users/asamat","html_url":"https://github.com/asamat","followers_url":"https://api.github.com/users/asamat/followers","following_url":"https://api.github.com/users/asamat/following{/other_user}","gists_url":"https://api.github.com/users/asamat/gists{/gist_id}","starred_url":"https://api.github.com/users/asamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamat/subscriptions","organizations_url":"https://api.github.com/users/asamat/orgs","repos_url":"https://api.github.com/users/asamat/repos","events_url":"https://api.github.com/users/asamat/events{/privacy}","received_events_url":"https://api.github.com/users/asamat/received_events","type":"User","site_admin":false},"body":"why define a new method for one time operation","created_at":"2015-05-13T17:43:15Z","updated_at":"2015-05-13T17:43:15Z","html_url":"https://github.com/asamat/python_marketo/pull/1#discussion_r30255711","pull_request_url":"https://api.github.com/repos/asamat/python_marketo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/comments/30255711"},"html":{"href":"https://github.com/asamat/python_marketo/pull/1#discussion_r30255711"},"pull_request":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/asamat/python_marketo/pulls/1","id":35145389,"html_url":"https://github.com/asamat/python_marketo/pull/1","diff_url":"https://github.com/asamat/python_marketo/pull/1.diff","patch_url":"https://github.com/asamat/python_marketo/pull/1.patch","issue_url":"https://api.github.com/repos/asamat/python_marketo/issues/1","number":1,"state":"open","locked":false,"title":"Added run_request_campaign function to handle Request Campaign API in…","user":{"login":"sandipsinha","id":8917645,"avatar_url":"https://avatars.githubusercontent.com/u/8917645?v=3","gravatar_id":"","url":"https://api.github.com/users/sandipsinha","html_url":"https://github.com/sandipsinha","followers_url":"https://api.github.com/users/sandipsinha/followers","following_url":"https://api.github.com/users/sandipsinha/following{/other_user}","gists_url":"https://api.github.com/users/sandipsinha/gists{/gist_id}","starred_url":"https://api.github.com/users/sandipsinha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandipsinha/subscriptions","organizations_url":"https://api.github.com/users/sandipsinha/orgs","repos_url":"https://api.github.com/users/sandipsinha/repos","events_url":"https://api.github.com/users/sandipsinha/events{/privacy}","received_events_url":"https://api.github.com/users/sandipsinha/received_events","type":"User","site_admin":false},"body":"Created an extra method to handle one more API from Marketo. Will return true if success and false otherwise.  ","created_at":"2015-05-11T16:40:30Z","updated_at":"2015-05-13T17:43:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4670dbb64875a15c24eae6a6b6bb64618100052b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asamat/python_marketo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/asamat/python_marketo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/asamat/python_marketo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asamat/python_marketo/issues/1/comments","statuses_url":"https://api.github.com/repos/asamat/python_marketo/statuses/3b1177a37575695a22d01952e99aac06b8fe0648","head":{"label":"sandipsinha:master","ref":"master","sha":"3b1177a37575695a22d01952e99aac06b8fe0648","user":{"login":"sandipsinha","id":8917645,"avatar_url":"https://avatars.githubusercontent.com/u/8917645?v=3","gravatar_id":"","url":"https://api.github.com/users/sandipsinha","html_url":"https://github.com/sandipsinha","followers_url":"https://api.github.com/users/sandipsinha/followers","following_url":"https://api.github.com/users/sandipsinha/following{/other_user}","gists_url":"https://api.github.com/users/sandipsinha/gists{/gist_id}","starred_url":"https://api.github.com/users/sandipsinha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandipsinha/subscriptions","organizations_url":"https://api.github.com/users/sandipsinha/orgs","repos_url":"https://api.github.com/users/sandipsinha/repos","events_url":"https://api.github.com/users/sandipsinha/events{/privacy}","received_events_url":"https://api.github.com/users/sandipsinha/received_events","type":"User","site_admin":false},"repo":{"id":35300131,"name":"python_marketo","full_name":"sandipsinha/python_marketo","owner":{"login":"sandipsinha","id":8917645,"avatar_url":"https://avatars.githubusercontent.com/u/8917645?v=3","gravatar_id":"","url":"https://api.github.com/users/sandipsinha","html_url":"https://github.com/sandipsinha","followers_url":"https://api.github.com/users/sandipsinha/followers","following_url":"https://api.github.com/users/sandipsinha/following{/other_user}","gists_url":"https://api.github.com/users/sandipsinha/gists{/gist_id}","starred_url":"https://api.github.com/users/sandipsinha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandipsinha/subscriptions","organizations_url":"https://api.github.com/users/sandipsinha/orgs","repos_url":"https://api.github.com/users/sandipsinha/repos","events_url":"https://api.github.com/users/sandipsinha/events{/privacy}","received_events_url":"https://api.github.com/users/sandipsinha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sandipsinha/python_marketo","description":"Python interface to marketo rest api","fork":true,"url":"https://api.github.com/repos/sandipsinha/python_marketo","forks_url":"https://api.github.com/repos/sandipsinha/python_marketo/forks","keys_url":"https://api.github.com/repos/sandipsinha/python_marketo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sandipsinha/python_marketo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sandipsinha/python_marketo/teams","hooks_url":"https://api.github.com/repos/sandipsinha/python_marketo/hooks","issue_events_url":"https://api.github.com/repos/sandipsinha/python_marketo/issues/events{/number}","events_url":"https://api.github.com/repos/sandipsinha/python_marketo/events","assignees_url":"https://api.github.com/repos/sandipsinha/python_marketo/assignees{/user}","branches_url":"https://api.github.com/repos/sandipsinha/python_marketo/branches{/branch}","tags_url":"https://api.github.com/repos/sandipsinha/python_marketo/tags","blobs_url":"https://api.github.com/repos/sandipsinha/python_marketo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sandipsinha/python_marketo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sandipsinha/python_marketo/git/refs{/sha}","trees_url":"https://api.github.com/repos/sandipsinha/python_marketo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sandipsinha/python_marketo/statuses/{sha}","languages_url":"https://api.github.com/repos/sandipsinha/python_marketo/languages","stargazers_url":"https://api.github.com/repos/sandipsinha/python_marketo/stargazers","contributors_url":"https://api.github.com/repos/sandipsinha/python_marketo/contributors","subscribers_url":"https://api.github.com/repos/sandipsinha/python_marketo/subscribers","subscription_url":"https://api.github.com/repos/sandipsinha/python_marketo/subscription","commits_url":"https://api.github.com/repos/sandipsinha/python_marketo/commits{/sha}","git_commits_url":"https://api.github.com/repos/sandipsinha/python_marketo/git/commits{/sha}","comments_url":"https://api.github.com/repos/sandipsinha/python_marketo/comments{/number}","issue_comment_url":"https://api.github.com/repos/sandipsinha/python_marketo/issues/comments{/number}","contents_url":"https://api.github.com/repos/sandipsinha/python_marketo/contents/{+path}","compare_url":"https://api.github.com/repos/sandipsinha/python_marketo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sandipsinha/python_marketo/merges","archive_url":"https://api.github.com/repos/sandipsinha/python_marketo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sandipsinha/python_marketo/downloads","issues_url":"https://api.github.com/repos/sandipsinha/python_marketo/issues{/number}","pulls_url":"https://api.github.com/repos/sandipsinha/python_marketo/pulls{/number}","milestones_url":"https://api.github.com/repos/sandipsinha/python_marketo/milestones{/number}","notifications_url":"https://api.github.com/repos/sandipsinha/python_marketo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sandipsinha/python_marketo/labels{/name}","releases_url":"https://api.github.com/repos/sandipsinha/python_marketo/releases{/id}","created_at":"2015-05-08T20:23:00Z","updated_at":"2015-05-08T20:23:01Z","pushed_at":"2015-05-11T16:38:29Z","git_url":"git://github.com/sandipsinha/python_marketo.git","ssh_url":"git@github.com:sandipsinha/python_marketo.git","clone_url":"https://github.com/sandipsinha/python_marketo.git","svn_url":"https://github.com/sandipsinha/python_marketo","homepage":null,"size":270,"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":"asamat:master","ref":"master","sha":"21c0d2e5ff60d9b6d25b7368d9f029a1d2ecdaa0","user":{"login":"asamat","id":3454856,"avatar_url":"https://avatars.githubusercontent.com/u/3454856?v=3","gravatar_id":"","url":"https://api.github.com/users/asamat","html_url":"https://github.com/asamat","followers_url":"https://api.github.com/users/asamat/followers","following_url":"https://api.github.com/users/asamat/following{/other_user}","gists_url":"https://api.github.com/users/asamat/gists{/gist_id}","starred_url":"https://api.github.com/users/asamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamat/subscriptions","organizations_url":"https://api.github.com/users/asamat/orgs","repos_url":"https://api.github.com/users/asamat/repos","events_url":"https://api.github.com/users/asamat/events{/privacy}","received_events_url":"https://api.github.com/users/asamat/received_events","type":"User","site_admin":false},"repo":{"id":28532384,"name":"python_marketo","full_name":"asamat/python_marketo","owner":{"login":"asamat","id":3454856,"avatar_url":"https://avatars.githubusercontent.com/u/3454856?v=3","gravatar_id":"","url":"https://api.github.com/users/asamat","html_url":"https://github.com/asamat","followers_url":"https://api.github.com/users/asamat/followers","following_url":"https://api.github.com/users/asamat/following{/other_user}","gists_url":"https://api.github.com/users/asamat/gists{/gist_id}","starred_url":"https://api.github.com/users/asamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamat/subscriptions","organizations_url":"https://api.github.com/users/asamat/orgs","repos_url":"https://api.github.com/users/asamat/repos","events_url":"https://api.github.com/users/asamat/events{/privacy}","received_events_url":"https://api.github.com/users/asamat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asamat/python_marketo","description":"Python interface to marketo rest api","fork":false,"url":"https://api.github.com/repos/asamat/python_marketo","forks_url":"https://api.github.com/repos/asamat/python_marketo/forks","keys_url":"https://api.github.com/repos/asamat/python_marketo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asamat/python_marketo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asamat/python_marketo/teams","hooks_url":"https://api.github.com/repos/asamat/python_marketo/hooks","issue_events_url":"https://api.github.com/repos/asamat/python_marketo/issues/events{/number}","events_url":"https://api.github.com/repos/asamat/python_marketo/events","assignees_url":"https://api.github.com/repos/asamat/python_marketo/assignees{/user}","branches_url":"https://api.github.com/repos/asamat/python_marketo/branches{/branch}","tags_url":"https://api.github.com/repos/asamat/python_marketo/tags","blobs_url":"https://api.github.com/repos/asamat/python_marketo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asamat/python_marketo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asamat/python_marketo/git/refs{/sha}","trees_url":"https://api.github.com/repos/asamat/python_marketo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asamat/python_marketo/statuses/{sha}","languages_url":"https://api.github.com/repos/asamat/python_marketo/languages","stargazers_url":"https://api.github.com/repos/asamat/python_marketo/stargazers","contributors_url":"https://api.github.com/repos/asamat/python_marketo/contributors","subscribers_url":"https://api.github.com/repos/asamat/python_marketo/subscribers","subscription_url":"https://api.github.com/repos/asamat/python_marketo/subscription","commits_url":"https://api.github.com/repos/asamat/python_marketo/commits{/sha}","git_commits_url":"https://api.github.com/repos/asamat/python_marketo/git/commits{/sha}","comments_url":"https://api.github.com/repos/asamat/python_marketo/comments{/number}","issue_comment_url":"https://api.github.com/repos/asamat/python_marketo/issues/comments{/number}","contents_url":"https://api.github.com/repos/asamat/python_marketo/contents/{+path}","compare_url":"https://api.github.com/repos/asamat/python_marketo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asamat/python_marketo/merges","archive_url":"https://api.github.com/repos/asamat/python_marketo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asamat/python_marketo/downloads","issues_url":"https://api.github.com/repos/asamat/python_marketo/issues{/number}","pulls_url":"https://api.github.com/repos/asamat/python_marketo/pulls{/number}","milestones_url":"https://api.github.com/repos/asamat/python_marketo/milestones{/number}","notifications_url":"https://api.github.com/repos/asamat/python_marketo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asamat/python_marketo/labels{/name}","releases_url":"https://api.github.com/repos/asamat/python_marketo/releases{/id}","created_at":"2014-12-27T08:33:41Z","updated_at":"2015-05-06T18:47:47Z","pushed_at":"2015-05-11T16:40:31Z","git_url":"git://github.com/asamat/python_marketo.git","ssh_url":"git@github.com:asamat/python_marketo.git","clone_url":"https://github.com/asamat/python_marketo.git","svn_url":"https://github.com/asamat/python_marketo","homepage":null,"size":270,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/1"},"html":{"href":"https://github.com/asamat/python_marketo/pull/1"},"issue":{"href":"https://api.github.com/repos/asamat/python_marketo/issues/1"},"comments":{"href":"https://api.github.com/repos/asamat/python_marketo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asamat/python_marketo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/asamat/python_marketo/statuses/3b1177a37575695a22d01952e99aac06b8fe0648"}}}}