code: function getURL(at, api_url, opts) {
    var params = "?token=" + at;
    if (opts)
      params = params + "&" + querystring.stringify(opts);
    return Constants.API_BASEURL + api_url + params;
  }
docs: Helper function to construct the individual paths for API calls. api_url takes the format "/url"