docs: function sendRequest( type, id, callback ){
    var url = API_URL + '&type=' + type + '&id=' + id;
    
    // response.statusCode is always 200. The service fails at some URLs
    // Example: http://ureddit.com/api?type=class&id=23464
    request( url, function ( error, response, body ) {
      try{
        var data = JSON.parse(body);
        if(data.hasOwnProperty('error'))
          callback(new Error("Incorrect id or type."), null);
        else
          callback(null, data);
      }catch( error ){
        var customError = "Unable to parse JSON. Contact the developer.";
        callback(new Error(customError), null);
      }
    });
  
  }