{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2","id":52157925,"html_url":"https://github.com/andresgottlieb/nodio/pull/2","diff_url":"https://github.com/andresgottlieb/nodio/pull/2.diff","patch_url":"https://github.com/andresgottlieb/nodio/pull/2.patch","issue_url":"https://api.github.com/repos/andresgottlieb/nodio/issues/2","number":2,"state":"open","locked":false,"title":"Added function to handle legacy instantiation","user":{"login":"jamesbirkett","id":5710506,"avatar_url":"https://avatars.githubusercontent.com/u/5710506?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbirkett","html_url":"https://github.com/jamesbirkett","followers_url":"https://api.github.com/users/jamesbirkett/followers","following_url":"https://api.github.com/users/jamesbirkett/following{/other_user}","gists_url":"https://api.github.com/users/jamesbirkett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbirkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbirkett/subscriptions","organizations_url":"https://api.github.com/users/jamesbirkett/orgs","repos_url":"https://api.github.com/users/jamesbirkett/repos","events_url":"https://api.github.com/users/jamesbirkett/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbirkett/received_events","type":"User","site_admin":false},"body":"Forgot to add functions so that people using nodio in the old way of\r\n\r\n```javascript\r\nvar nodio = require('nodio');\r\nvar credentials = {...};\r\nvar item = {...};\r\n\r\nnodio.addItem(credentials, item, function () { });\r\n```\r\n\r\nwould not cause node to fall over but instead will output a warning to console.","created_at":"2015-11-30T18:01:45Z","updated_at":"2015-11-30T18:01:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2/commits","review_comments_url":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2/comments","review_comment_url":"https://api.github.com/repos/andresgottlieb/nodio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andresgottlieb/nodio/issues/2/comments","statuses_url":"https://api.github.com/repos/andresgottlieb/nodio/statuses/5619bbe3eaeee8107db7a166541d4d289b41c4e9","head":{"label":"jamesbirkett:master","ref":"master","sha":"5619bbe3eaeee8107db7a166541d4d289b41c4e9","user":{"login":"jamesbirkett","id":5710506,"avatar_url":"https://avatars.githubusercontent.com/u/5710506?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbirkett","html_url":"https://github.com/jamesbirkett","followers_url":"https://api.github.com/users/jamesbirkett/followers","following_url":"https://api.github.com/users/jamesbirkett/following{/other_user}","gists_url":"https://api.github.com/users/jamesbirkett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbirkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbirkett/subscriptions","organizations_url":"https://api.github.com/users/jamesbirkett/orgs","repos_url":"https://api.github.com/users/jamesbirkett/repos","events_url":"https://api.github.com/users/jamesbirkett/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbirkett/received_events","type":"User","site_admin":false},"repo":{"id":46859222,"name":"nodio","full_name":"jamesbirkett/nodio","owner":{"login":"jamesbirkett","id":5710506,"avatar_url":"https://avatars.githubusercontent.com/u/5710506?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbirkett","html_url":"https://github.com/jamesbirkett","followers_url":"https://api.github.com/users/jamesbirkett/followers","following_url":"https://api.github.com/users/jamesbirkett/following{/other_user}","gists_url":"https://api.github.com/users/jamesbirkett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbirkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbirkett/subscriptions","organizations_url":"https://api.github.com/users/jamesbirkett/orgs","repos_url":"https://api.github.com/users/jamesbirkett/repos","events_url":"https://api.github.com/users/jamesbirkett/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbirkett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesbirkett/nodio","description":"A node.js client for accessing the Podio API using the App authentication flow. Node + Podio = Nodio.","fork":true,"url":"https://api.github.com/repos/jamesbirkett/nodio","forks_url":"https://api.github.com/repos/jamesbirkett/nodio/forks","keys_url":"https://api.github.com/repos/jamesbirkett/nodio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesbirkett/nodio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesbirkett/nodio/teams","hooks_url":"https://api.github.com/repos/jamesbirkett/nodio/hooks","issue_events_url":"https://api.github.com/repos/jamesbirkett/nodio/issues/events{/number}","events_url":"https://api.github.com/repos/jamesbirkett/nodio/events","assignees_url":"https://api.github.com/repos/jamesbirkett/nodio/assignees{/user}","branches_url":"https://api.github.com/repos/jamesbirkett/nodio/branches{/branch}","tags_url":"https://api.github.com/repos/jamesbirkett/nodio/tags","blobs_url":"https://api.github.com/repos/jamesbirkett/nodio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesbirkett/nodio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesbirkett/nodio/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesbirkett/nodio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesbirkett/nodio/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesbirkett/nodio/languages","stargazers_url":"https://api.github.com/repos/jamesbirkett/nodio/stargazers","contributors_url":"https://api.github.com/repos/jamesbirkett/nodio/contributors","subscribers_url":"https://api.github.com/repos/jamesbirkett/nodio/subscribers","subscription_url":"https://api.github.com/repos/jamesbirkett/nodio/subscription","commits_url":"https://api.github.com/repos/jamesbirkett/nodio/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesbirkett/nodio/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesbirkett/nodio/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesbirkett/nodio/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesbirkett/nodio/contents/{+path}","compare_url":"https://api.github.com/repos/jamesbirkett/nodio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesbirkett/nodio/merges","archive_url":"https://api.github.com/repos/jamesbirkett/nodio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesbirkett/nodio/downloads","issues_url":"https://api.github.com/repos/jamesbirkett/nodio/issues{/number}","pulls_url":"https://api.github.com/repos/jamesbirkett/nodio/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesbirkett/nodio/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesbirkett/nodio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesbirkett/nodio/labels{/name}","releases_url":"https://api.github.com/repos/jamesbirkett/nodio/releases{/id}","created_at":"2015-11-25T12:04:52Z","updated_at":"2015-11-25T12:04:53Z","pushed_at":"2015-11-30T17:58:39Z","git_url":"git://github.com/jamesbirkett/nodio.git","ssh_url":"git@github.com:jamesbirkett/nodio.git","clone_url":"https://github.com/jamesbirkett/nodio.git","svn_url":"https://github.com/jamesbirkett/nodio","homepage":"","size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"andresgottlieb:master","ref":"master","sha":"b4f6b313db88d314181a1d504f5700ef10a08ff7","user":{"login":"andresgottlieb","id":1126905,"avatar_url":"https://avatars.githubusercontent.com/u/1126905?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgottlieb","html_url":"https://github.com/andresgottlieb","followers_url":"https://api.github.com/users/andresgottlieb/followers","following_url":"https://api.github.com/users/andresgottlieb/following{/other_user}","gists_url":"https://api.github.com/users/andresgottlieb/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgottlieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgottlieb/subscriptions","organizations_url":"https://api.github.com/users/andresgottlieb/orgs","repos_url":"https://api.github.com/users/andresgottlieb/repos","events_url":"https://api.github.com/users/andresgottlieb/events{/privacy}","received_events_url":"https://api.github.com/users/andresgottlieb/received_events","type":"User","site_admin":false},"repo":{"id":5248963,"name":"nodio","full_name":"andresgottlieb/nodio","owner":{"login":"andresgottlieb","id":1126905,"avatar_url":"https://avatars.githubusercontent.com/u/1126905?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgottlieb","html_url":"https://github.com/andresgottlieb","followers_url":"https://api.github.com/users/andresgottlieb/followers","following_url":"https://api.github.com/users/andresgottlieb/following{/other_user}","gists_url":"https://api.github.com/users/andresgottlieb/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgottlieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgottlieb/subscriptions","organizations_url":"https://api.github.com/users/andresgottlieb/orgs","repos_url":"https://api.github.com/users/andresgottlieb/repos","events_url":"https://api.github.com/users/andresgottlieb/events{/privacy}","received_events_url":"https://api.github.com/users/andresgottlieb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andresgottlieb/nodio","description":"A node.js client for accessing the Podio API using the App authentication flow. Node + Podio = Nodio.","fork":false,"url":"https://api.github.com/repos/andresgottlieb/nodio","forks_url":"https://api.github.com/repos/andresgottlieb/nodio/forks","keys_url":"https://api.github.com/repos/andresgottlieb/nodio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andresgottlieb/nodio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andresgottlieb/nodio/teams","hooks_url":"https://api.github.com/repos/andresgottlieb/nodio/hooks","issue_events_url":"https://api.github.com/repos/andresgottlieb/nodio/issues/events{/number}","events_url":"https://api.github.com/repos/andresgottlieb/nodio/events","assignees_url":"https://api.github.com/repos/andresgottlieb/nodio/assignees{/user}","branches_url":"https://api.github.com/repos/andresgottlieb/nodio/branches{/branch}","tags_url":"https://api.github.com/repos/andresgottlieb/nodio/tags","blobs_url":"https://api.github.com/repos/andresgottlieb/nodio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andresgottlieb/nodio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andresgottlieb/nodio/git/refs{/sha}","trees_url":"https://api.github.com/repos/andresgottlieb/nodio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andresgottlieb/nodio/statuses/{sha}","languages_url":"https://api.github.com/repos/andresgottlieb/nodio/languages","stargazers_url":"https://api.github.com/repos/andresgottlieb/nodio/stargazers","contributors_url":"https://api.github.com/repos/andresgottlieb/nodio/contributors","subscribers_url":"https://api.github.com/repos/andresgottlieb/nodio/subscribers","subscription_url":"https://api.github.com/repos/andresgottlieb/nodio/subscription","commits_url":"https://api.github.com/repos/andresgottlieb/nodio/commits{/sha}","git_commits_url":"https://api.github.com/repos/andresgottlieb/nodio/git/commits{/sha}","comments_url":"https://api.github.com/repos/andresgottlieb/nodio/comments{/number}","issue_comment_url":"https://api.github.com/repos/andresgottlieb/nodio/issues/comments{/number}","contents_url":"https://api.github.com/repos/andresgottlieb/nodio/contents/{+path}","compare_url":"https://api.github.com/repos/andresgottlieb/nodio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andresgottlieb/nodio/merges","archive_url":"https://api.github.com/repos/andresgottlieb/nodio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andresgottlieb/nodio/downloads","issues_url":"https://api.github.com/repos/andresgottlieb/nodio/issues{/number}","pulls_url":"https://api.github.com/repos/andresgottlieb/nodio/pulls{/number}","milestones_url":"https://api.github.com/repos/andresgottlieb/nodio/milestones{/number}","notifications_url":"https://api.github.com/repos/andresgottlieb/nodio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andresgottlieb/nodio/labels{/name}","releases_url":"https://api.github.com/repos/andresgottlieb/nodio/releases{/id}","created_at":"2012-07-31T17:15:18Z","updated_at":"2015-11-26T03:27:05Z","pushed_at":"2015-11-30T18:01:45Z","git_url":"git://github.com/andresgottlieb/nodio.git","ssh_url":"git@github.com:andresgottlieb/nodio.git","clone_url":"https://github.com/andresgottlieb/nodio.git","svn_url":"https://github.com/andresgottlieb/nodio","homepage":"","size":7,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2"},"html":{"href":"https://github.com/andresgottlieb/nodio/pull/2"},"issue":{"href":"https://api.github.com/repos/andresgottlieb/nodio/issues/2"},"comments":{"href":"https://api.github.com/repos/andresgottlieb/nodio/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/andresgottlieb/nodio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andresgottlieb/nodio/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/andresgottlieb/nodio/statuses/5619bbe3eaeee8107db7a166541d4d289b41c4e9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":13,"changed_files":1}}