{"action":"created","issue":{"url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/16","repository_url":"https://api.github.com/repos/jacobtomlinson/datapoint-js","labels_url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/16/comments","events_url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/16/events","html_url":"https://github.com/jacobtomlinson/datapoint-js/issues/16","id":147727283,"number":16,"title":"Obs for multiple IDs","user":{"login":"msaunby","id":848911,"avatar_url":"https://avatars.githubusercontent.com/u/848911?v=3","gravatar_id":"","url":"https://api.github.com/users/msaunby","html_url":"https://github.com/msaunby","followers_url":"https://api.github.com/users/msaunby/followers","following_url":"https://api.github.com/users/msaunby/following{/other_user}","gists_url":"https://api.github.com/users/msaunby/gists{/gist_id}","starred_url":"https://api.github.com/users/msaunby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msaunby/subscriptions","organizations_url":"https://api.github.com/users/msaunby/orgs","repos_url":"https://api.github.com/users/msaunby/repos","events_url":"https://api.github.com/users/msaunby/events{/privacy}","received_events_url":"https://api.github.com/users/msaunby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-12T11:57:26Z","updated_at":"2016-04-13T12:12:43Z","closed_at":null,"body":"Datapoint API allows \"all\" and comma separated list of IDs.  Maybe add this functionality to get_obs_for_site.\r\n\r\nOr catch the resulting error.  i.e.\r\n\r\nTypeError: Cannot read property 'length' of undefined\r\n    at Object.module.exports.clean_days (/Users/mike/Documents/openshift/nodejs/node_modules/datapoint-js/src/obs.js:30:33)\r\n    at Object.module.exports.get_obs_for_site (/Users/mike/Documents/openshift/nodejs/node_modules/datapoint-js/src/obs.js:21:27)\r\n    at Object.module.exports.get_obs_for_site (/Users/mike/Documents/openshift/nodejs/node_modules/datapoint-js/src/datapoint.js:73:16)\r\n"},"comment":{"url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/comments/209400187","html_url":"https://github.com/jacobtomlinson/datapoint-js/issues/16#issuecomment-209400187","issue_url":"https://api.github.com/repos/jacobtomlinson/datapoint-js/issues/16","id":209400187,"user":{"login":"msaunby","id":848911,"avatar_url":"https://avatars.githubusercontent.com/u/848911?v=3","gravatar_id":"","url":"https://api.github.com/users/msaunby","html_url":"https://github.com/msaunby","followers_url":"https://api.github.com/users/msaunby/followers","following_url":"https://api.github.com/users/msaunby/following{/other_user}","gists_url":"https://api.github.com/users/msaunby/gists{/gist_id}","starred_url":"https://api.github.com/users/msaunby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msaunby/subscriptions","organizations_url":"https://api.github.com/users/msaunby/orgs","repos_url":"https://api.github.com/users/msaunby/repos","events_url":"https://api.github.com/users/msaunby/events{/privacy}","received_events_url":"https://api.github.com/users/msaunby/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T12:12:43Z","updated_at":"2016-04-13T12:12:43Z","body":"I've not looked at forecasts so closely yet. Calling \"all\" on forecasts would be a bad idea though; way too much data."}}