{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/figo-connect/node-figo/pulls/26","id":81806430,"html_url":"https://github.com/figo-connect/node-figo/pull/26","diff_url":"https://github.com/figo-connect/node-figo/pull/26.diff","patch_url":"https://github.com/figo-connect/node-figo/pull/26.patch","issue_url":"https://api.github.com/repos/figo-connect/node-figo/issues/26","number":26,"state":"closed","locked":false,"title":"Feature/sdk 7","user":{"login":"JeremyCraigMartinez","id":6334199,"avatar_url":"https://avatars.githubusercontent.com/u/6334199?v=3","gravatar_id":"","url":"https://api.github.com/users/JeremyCraigMartinez","html_url":"https://github.com/JeremyCraigMartinez","followers_url":"https://api.github.com/users/JeremyCraigMartinez/followers","following_url":"https://api.github.com/users/JeremyCraigMartinez/following{/other_user}","gists_url":"https://api.github.com/users/JeremyCraigMartinez/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyCraigMartinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyCraigMartinez/subscriptions","organizations_url":"https://api.github.com/users/JeremyCraigMartinez/orgs","repos_url":"https://api.github.com/users/JeremyCraigMartinez/repos","events_url":"https://api.github.com/users/JeremyCraigMartinez/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyCraigMartinez/received_events","type":"User","site_admin":false},"body":"Feature to point `npm test` to different host. Arguments needed:\r\n\r\n- `HOST=api.figo.me` or `--host=api.figo.me`\r\n- `FINGERPRINTS=11:22:33:44,AA:BB:CC:DD` or `--fingerprints=11:22:33:44,AA:BB:CC:DD`\r\n- `ACCESS_TOKEN=ASHWLIkouP2O6` or `--access_token=ASHWLIkouP2O6`\r\n\r\n```bash\r\n#example 1\r\nHOST=api.figo.me FINGERPRINTS=11:22:33:44,AA:BB:CC:DD ACCESS_TOKEN=ASHWLIkouP2O6 npm test\r\n#example 2\r\nnpm test -- --host=api.figo.me --fingerprints=11:22:33:44,AA:BB:CC:DD --access_token=ASHWLIkouP2O6\r\n```\r\n\r\nTo set options when `require`ing the SDK, call `setOptions`\r\n```js\r\nvar figo = require(\"../lib/figo\");\r\n  \r\nfigo.setOptions({\r\n    host: 'api.figo.me',\r\n    fingerprints: ['11:22:33:44'],\r\n    useragent: 'figo-connect',\r\n  });\r\n}\r\n```","created_at":"2016-08-18T12:23:38Z","updated_at":"2016-08-24T10:00:12Z","closed_at":"2016-08-24T10:00:12Z","merged_at":null,"merge_commit_sha":"cc46c6c40d67e7db9680e546be8979a9898c1b55","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/figo-connect/node-figo/pulls/26/commits","review_comments_url":"https://api.github.com/repos/figo-connect/node-figo/pulls/26/comments","review_comment_url":"https://api.github.com/repos/figo-connect/node-figo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/figo-connect/node-figo/issues/26/comments","statuses_url":"https://api.github.com/repos/figo-connect/node-figo/statuses/f7d425418ab16430f9c1f2b7a090047fd83cbcd5","head":{"label":"figo-connect:feature/SDK-7","ref":"feature/SDK-7","sha":"f7d425418ab16430f9c1f2b7a090047fd83cbcd5","user":{"login":"figo-connect","id":4096929,"avatar_url":"https://avatars.githubusercontent.com/u/4096929?v=3","gravatar_id":"","url":"https://api.github.com/users/figo-connect","html_url":"https://github.com/figo-connect","followers_url":"https://api.github.com/users/figo-connect/followers","following_url":"https://api.github.com/users/figo-connect/following{/other_user}","gists_url":"https://api.github.com/users/figo-connect/gists{/gist_id}","starred_url":"https://api.github.com/users/figo-connect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/figo-connect/subscriptions","organizations_url":"https://api.github.com/users/figo-connect/orgs","repos_url":"https://api.github.com/users/figo-connect/repos","events_url":"https://api.github.com/users/figo-connect/events{/privacy}","received_events_url":"https://api.github.com/users/figo-connect/received_events","type":"Organization","site_admin":false},"repo":{"id":10725555,"name":"node-figo","full_name":"figo-connect/node-figo","owner":{"login":"figo-connect","id":4096929,"avatar_url":"https://avatars.githubusercontent.com/u/4096929?v=3","gravatar_id":"","url":"https://api.github.com/users/figo-connect","html_url":"https://github.com/figo-connect","followers_url":"https://api.github.com/users/figo-connect/followers","following_url":"https://api.github.com/users/figo-connect/following{/other_user}","gists_url":"https://api.github.com/users/figo-connect/gists{/gist_id}","starred_url":"https://api.github.com/users/figo-connect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/figo-connect/subscriptions","organizations_url":"https://api.github.com/users/figo-connect/orgs","repos_url":"https://api.github.com/users/figo-connect/repos","events_url":"https://api.github.com/users/figo-connect/events{/privacy}","received_events_url":"https://api.github.com/users/figo-connect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/figo-connect/node-figo","description":"Node.js binding for the figo Connect API.","fork":false,"url":"https://api.github.com/repos/figo-connect/node-figo","forks_url":"https://api.github.com/repos/figo-connect/node-figo/forks","keys_url":"https://api.github.com/repos/figo-connect/node-figo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/figo-connect/node-figo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/figo-connect/node-figo/teams","hooks_url":"https://api.github.com/repos/figo-connect/node-figo/hooks","issue_events_url":"https://api.github.com/repos/figo-connect/node-figo/issues/events{/number}","events_url":"https://api.github.com/repos/figo-connect/node-figo/events","assignees_url":"https://api.github.com/repos/figo-connect/node-figo/assignees{/user}","branches_url":"https://api.github.com/repos/figo-connect/node-figo/branches{/branch}","tags_url":"https://api.github.com/repos/figo-connect/node-figo/tags","blobs_url":"https://api.github.com/repos/figo-connect/node-figo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/figo-connect/node-figo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/figo-connect/node-figo/git/refs{/sha}","trees_url":"https://api.github.com/repos/figo-connect/node-figo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/figo-connect/node-figo/statuses/{sha}","languages_url":"https://api.github.com/repos/figo-connect/node-figo/languages","stargazers_url":"https://api.github.com/repos/figo-connect/node-figo/stargazers","contributors_url":"https://api.github.com/repos/figo-connect/node-figo/contributors","subscribers_url":"https://api.github.com/repos/figo-connect/node-figo/subscribers","subscription_url":"https://api.github.com/repos/figo-connect/node-figo/subscription","commits_url":"https://api.github.com/repos/figo-connect/node-figo/commits{/sha}","git_commits_url":"https://api.github.com/repos/figo-connect/node-figo/git/commits{/sha}","comments_url":"https://api.github.com/repos/figo-connect/node-figo/comments{/number}","issue_comment_url":"https://api.github.com/repos/figo-connect/node-figo/issues/comments{/number}","contents_url":"https://api.github.com/repos/figo-connect/node-figo/contents/{+path}","compare_url":"https://api.github.com/repos/figo-connect/node-figo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/figo-connect/node-figo/merges","archive_url":"https://api.github.com/repos/figo-connect/node-figo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/figo-connect/node-figo/downloads","issues_url":"https://api.github.com/repos/figo-connect/node-figo/issues{/number}","pulls_url":"https://api.github.com/repos/figo-connect/node-figo/pulls{/number}","milestones_url":"https://api.github.com/repos/figo-connect/node-figo/milestones{/number}","notifications_url":"https://api.github.com/repos/figo-connect/node-figo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/figo-connect/node-figo/labels{/name}","releases_url":"https://api.github.com/repos/figo-connect/node-figo/releases{/id}","deployments_url":"https://api.github.com/repos/figo-connect/node-figo/deployments","created_at":"2013-06-16T20:50:53Z","updated_at":"2016-08-21T09:41:59Z","pushed_at":"2016-08-23T09:02:17Z","git_url":"git://github.com/figo-connect/node-figo.git","ssh_url":"git@github.com:figo-connect/node-figo.git","clone_url":"https://github.com/figo-connect/node-figo.git","svn_url":"https://github.com/figo-connect/node-figo","homepage":"http://figo.io","size":247,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":20,"default_branch":"master"}},"base":{"label":"figo-connect:master","ref":"master","sha":"3136901106aad32995fb714fc6c479c5ed2cb7c6","user":{"login":"figo-connect","id":4096929,"avatar_url":"https://avatars.githubusercontent.com/u/4096929?v=3","gravatar_id":"","url":"https://api.github.com/users/figo-connect","html_url":"https://github.com/figo-connect","followers_url":"https://api.github.com/users/figo-connect/followers","following_url":"https://api.github.com/users/figo-connect/following{/other_user}","gists_url":"https://api.github.com/users/figo-connect/gists{/gist_id}","starred_url":"https://api.github.com/users/figo-connect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/figo-connect/subscriptions","organizations_url":"https://api.github.com/users/figo-connect/orgs","repos_url":"https://api.github.com/users/figo-connect/repos","events_url":"https://api.github.com/users/figo-connect/events{/privacy}","received_events_url":"https://api.github.com/users/figo-connect/received_events","type":"Organization","site_admin":false},"repo":{"id":10725555,"name":"node-figo","full_name":"figo-connect/node-figo","owner":{"login":"figo-connect","id":4096929,"avatar_url":"https://avatars.githubusercontent.com/u/4096929?v=3","gravatar_id":"","url":"https://api.github.com/users/figo-connect","html_url":"https://github.com/figo-connect","followers_url":"https://api.github.com/users/figo-connect/followers","following_url":"https://api.github.com/users/figo-connect/following{/other_user}","gists_url":"https://api.github.com/users/figo-connect/gists{/gist_id}","starred_url":"https://api.github.com/users/figo-connect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/figo-connect/subscriptions","organizations_url":"https://api.github.com/users/figo-connect/orgs","repos_url":"https://api.github.com/users/figo-connect/repos","events_url":"https://api.github.com/users/figo-connect/events{/privacy}","received_events_url":"https://api.github.com/users/figo-connect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/figo-connect/node-figo","description":"Node.js binding for the figo Connect API.","fork":false,"url":"https://api.github.com/repos/figo-connect/node-figo","forks_url":"https://api.github.com/repos/figo-connect/node-figo/forks","keys_url":"https://api.github.com/repos/figo-connect/node-figo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/figo-connect/node-figo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/figo-connect/node-figo/teams","hooks_url":"https://api.github.com/repos/figo-connect/node-figo/hooks","issue_events_url":"https://api.github.com/repos/figo-connect/node-figo/issues/events{/number}","events_url":"https://api.github.com/repos/figo-connect/node-figo/events","assignees_url":"https://api.github.com/repos/figo-connect/node-figo/assignees{/user}","branches_url":"https://api.github.com/repos/figo-connect/node-figo/branches{/branch}","tags_url":"https://api.github.com/repos/figo-connect/node-figo/tags","blobs_url":"https://api.github.com/repos/figo-connect/node-figo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/figo-connect/node-figo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/figo-connect/node-figo/git/refs{/sha}","trees_url":"https://api.github.com/repos/figo-connect/node-figo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/figo-connect/node-figo/statuses/{sha}","languages_url":"https://api.github.com/repos/figo-connect/node-figo/languages","stargazers_url":"https://api.github.com/repos/figo-connect/node-figo/stargazers","contributors_url":"https://api.github.com/repos/figo-connect/node-figo/contributors","subscribers_url":"https://api.github.com/repos/figo-connect/node-figo/subscribers","subscription_url":"https://api.github.com/repos/figo-connect/node-figo/subscription","commits_url":"https://api.github.com/repos/figo-connect/node-figo/commits{/sha}","git_commits_url":"https://api.github.com/repos/figo-connect/node-figo/git/commits{/sha}","comments_url":"https://api.github.com/repos/figo-connect/node-figo/comments{/number}","issue_comment_url":"https://api.github.com/repos/figo-connect/node-figo/issues/comments{/number}","contents_url":"https://api.github.com/repos/figo-connect/node-figo/contents/{+path}","compare_url":"https://api.github.com/repos/figo-connect/node-figo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/figo-connect/node-figo/merges","archive_url":"https://api.github.com/repos/figo-connect/node-figo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/figo-connect/node-figo/downloads","issues_url":"https://api.github.com/repos/figo-connect/node-figo/issues{/number}","pulls_url":"https://api.github.com/repos/figo-connect/node-figo/pulls{/number}","milestones_url":"https://api.github.com/repos/figo-connect/node-figo/milestones{/number}","notifications_url":"https://api.github.com/repos/figo-connect/node-figo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/figo-connect/node-figo/labels{/name}","releases_url":"https://api.github.com/repos/figo-connect/node-figo/releases{/id}","deployments_url":"https://api.github.com/repos/figo-connect/node-figo/deployments","created_at":"2013-06-16T20:50:53Z","updated_at":"2016-08-21T09:41:59Z","pushed_at":"2016-08-23T09:02:17Z","git_url":"git://github.com/figo-connect/node-figo.git","ssh_url":"git@github.com:figo-connect/node-figo.git","clone_url":"https://github.com/figo-connect/node-figo.git","svn_url":"https://github.com/figo-connect/node-figo","homepage":"http://figo.io","size":247,"stargazers_count":20,"watchers_count":20,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/figo-connect/node-figo/pulls/26"},"html":{"href":"https://github.com/figo-connect/node-figo/pull/26"},"issue":{"href":"https://api.github.com/repos/figo-connect/node-figo/issues/26"},"comments":{"href":"https://api.github.com/repos/figo-connect/node-figo/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/figo-connect/node-figo/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/figo-connect/node-figo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/figo-connect/node-figo/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/figo-connect/node-figo/statuses/f7d425418ab16430f9c1f2b7a090047fd83cbcd5"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":4,"commits":11,"additions":78,"deletions":3,"changed_files":5}}
{"actor":{"display_login":"JeremyCraigMartinez"}}