Docparse Upload Fetch
Fetch the latest version of an upload document from the docparse database. The upload should be an instance of docparse-upload.
Dependency tracking by David
Usage
var inspect = ;var fetch = ;var data = hash: 'foo hash' updateURL: 'http://username1:password1@pdfer.local/api/fetch/12abcd43ef0c1dae7bcd90 userID: 'fooID' // this should be the _id ObjectId of a docparse-user instance}fetch(data, function(err, reply) { if(err) { inspect(err, 'error fetching upload); return; ;});
Installation
npm install docparse-upload-fetch