{"action":"closed","number":264,"pull_request":{"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264","id":88928369,"html_url":"https://github.com/facebook/facebook-python-ads-sdk/pull/264","diff_url":"https://github.com/facebook/facebook-python-ads-sdk/pull/264.diff","patch_url":"https://github.com/facebook/facebook-python-ads-sdk/pull/264.patch","issue_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/264","number":264,"state":"closed","locked":false,"title":"Issue 263 (Optionally Initialize FacebookSession With Proxies)","user":{"login":"prateeksan","id":13942729,"avatar_url":"https://avatars.githubusercontent.com/u/13942729?v=3","gravatar_id":"","url":"https://api.github.com/users/prateeksan","html_url":"https://github.com/prateeksan","followers_url":"https://api.github.com/users/prateeksan/followers","following_url":"https://api.github.com/users/prateeksan/following{/other_user}","gists_url":"https://api.github.com/users/prateeksan/gists{/gist_id}","starred_url":"https://api.github.com/users/prateeksan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateeksan/subscriptions","organizations_url":"https://api.github.com/users/prateeksan/orgs","repos_url":"https://api.github.com/users/prateeksan/repos","events_url":"https://api.github.com/users/prateeksan/events{/privacy}","received_events_url":"https://api.github.com/users/prateeksan/received_events","type":"User","site_admin":false},"body":"Feature: Allows the FacebookSession (and FacebookAdsApi) to be initialized with proxies.\n- Added an optional parameter called `proxies` to `FacebookSession`'s `__init__` function\n- Updated Session with proxies if proxies are received\n- Added `proxies` parameter to `FacebookAdsApi.init` and used it to init the `FacebookSession`\n- The `proxies` parameter is always defaulted to `None`\n- The `proxies` argument should be an object formatted as follows: `{'http': '<HTTP_PROXY>', 'https': '<HTTPS_PROXY>'}` (conform to this: http://docs.python-requests.org/en/master/user/advanced/#proxies)\n- Added relevant documentation\n\nI tested the code on a server with proxies and it works fine. Ready for merge.\n\nFor reference see #263 \n","created_at":"2016-10-11T23:18:27Z","updated_at":"2016-12-24T08:47:38Z","closed_at":"2016-12-24T08:47:38Z","merged_at":"2016-12-24T08:47:38Z","merge_commit_sha":"83a3317e87949e7a748798955dc4c80d2d625484","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264/commits","review_comments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264/comments","review_comment_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/264/comments","statuses_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/statuses/ac4672acf0120432a8c5bc3cfb549dfc75e19aab","head":{"label":"prateeksan:issue-263","ref":"issue-263","sha":"ac4672acf0120432a8c5bc3cfb549dfc75e19aab","user":{"login":"prateeksan","id":13942729,"avatar_url":"https://avatars.githubusercontent.com/u/13942729?v=3","gravatar_id":"","url":"https://api.github.com/users/prateeksan","html_url":"https://github.com/prateeksan","followers_url":"https://api.github.com/users/prateeksan/followers","following_url":"https://api.github.com/users/prateeksan/following{/other_user}","gists_url":"https://api.github.com/users/prateeksan/gists{/gist_id}","starred_url":"https://api.github.com/users/prateeksan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateeksan/subscriptions","organizations_url":"https://api.github.com/users/prateeksan/orgs","repos_url":"https://api.github.com/users/prateeksan/repos","events_url":"https://api.github.com/users/prateeksan/events{/privacy}","received_events_url":"https://api.github.com/users/prateeksan/received_events","type":"User","site_admin":false},"repo":{"id":70636605,"name":"facebook-python-ads-sdk","full_name":"prateeksan/facebook-python-ads-sdk","owner":{"login":"prateeksan","id":13942729,"avatar_url":"https://avatars.githubusercontent.com/u/13942729?v=3","gravatar_id":"","url":"https://api.github.com/users/prateeksan","html_url":"https://github.com/prateeksan","followers_url":"https://api.github.com/users/prateeksan/followers","following_url":"https://api.github.com/users/prateeksan/following{/other_user}","gists_url":"https://api.github.com/users/prateeksan/gists{/gist_id}","starred_url":"https://api.github.com/users/prateeksan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateeksan/subscriptions","organizations_url":"https://api.github.com/users/prateeksan/orgs","repos_url":"https://api.github.com/users/prateeksan/repos","events_url":"https://api.github.com/users/prateeksan/events{/privacy}","received_events_url":"https://api.github.com/users/prateeksan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prateeksan/facebook-python-ads-sdk","description":"An SDK built to facilitate application development for Facebook Ads API.","fork":true,"url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk","forks_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/forks","keys_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/teams","hooks_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/hooks","issue_events_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/events","assignees_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/tags","blobs_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/languages","stargazers_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/stargazers","contributors_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/contributors","subscribers_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/subscribers","subscription_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/subscription","commits_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/merges","archive_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/downloads","issues_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/labels{/name}","releases_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/prateeksan/facebook-python-ads-sdk/deployments","created_at":"2016-10-11T21:22:47Z","updated_at":"2016-10-11T21:22:48Z","pushed_at":"2016-10-11T22:04:30Z","git_url":"git://github.com/prateeksan/facebook-python-ads-sdk.git","ssh_url":"git@github.com:prateeksan/facebook-python-ads-sdk.git","clone_url":"https://github.com/prateeksan/facebook-python-ads-sdk.git","svn_url":"https://github.com/prateeksan/facebook-python-ads-sdk","homepage":null,"size":10336,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"facebook:master","ref":"master","sha":"26255e8ddd4c22356ef17df27cc77ee8de20e93e","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":23458977,"name":"facebook-python-ads-sdk","full_name":"facebook/facebook-python-ads-sdk","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/facebook-python-ads-sdk","description":"An SDK built to facilitate application development for Facebook Ads API.","fork":false,"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk","forks_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/forks","keys_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/teams","hooks_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/hooks","issue_events_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/events","assignees_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/tags","blobs_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/languages","stargazers_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/stargazers","contributors_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/contributors","subscribers_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/subscribers","subscription_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/subscription","commits_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/merges","archive_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/downloads","issues_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/labels{/name}","releases_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/deployments","created_at":"2014-08-29T09:15:47Z","updated_at":"2016-12-22T21:21:00Z","pushed_at":"2016-12-24T08:47:38Z","git_url":"git://github.com/facebook/facebook-python-ads-sdk.git","ssh_url":"git@github.com:facebook/facebook-python-ads-sdk.git","clone_url":"https://github.com/facebook/facebook-python-ads-sdk.git","svn_url":"https://github.com/facebook/facebook-python-ads-sdk","homepage":null,"size":10654,"stargazers_count":278,"watchers_count":278,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":177,"mirror_url":null,"open_issues_count":46,"forks":177,"open_issues":46,"watchers":278,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264"},"html":{"href":"https://github.com/facebook/facebook-python-ads-sdk/pull/264"},"issue":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/264"},"comments":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/statuses/ac4672acf0120432a8c5bc3cfb549dfc75e19aab"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"xiaotchen","id":10479789,"avatar_url":"https://avatars.githubusercontent.com/u/10479789?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaotchen","html_url":"https://github.com/xiaotchen","followers_url":"https://api.github.com/users/xiaotchen/followers","following_url":"https://api.github.com/users/xiaotchen/following{/other_user}","gists_url":"https://api.github.com/users/xiaotchen/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaotchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaotchen/subscriptions","organizations_url":"https://api.github.com/users/xiaotchen/orgs","repos_url":"https://api.github.com/users/xiaotchen/repos","events_url":"https://api.github.com/users/xiaotchen/events{/privacy}","received_events_url":"https://api.github.com/users/xiaotchen/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":17,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"xiaotchen"}}