master
getApi
function getApi(url, options) { options = options || {}; if (typeof arguments[1] == 'function') { // Legacy (1) the second argument is the callback options = {