...omatically with no manual intervention. As Tick History does not support FTP, looking for a way to do the same through API
Tick History Client want their GUI custom extractions output files downloaded to their system automatically with no manual intervention. As Tick History does not support FTP, looking for a way to do the same through API
I found this way:
Step1: Check for files available for download:
END POINT: https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractedFiles
HEADERS:
Authorization:Token <Token Value>
Prefer:odata.track-changes; respond-async; odata.maxpagesize=25
Step 2: Download the output file using "ExtractedFileId": "VjF8fDc5NzI3MDI2OQ",
END POINT: https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractedFiles('VjF8fDc5NzI3MDI2OQ')/$value
HEADERS:
Authorization:Token <Token Value>
Prefer:respond-async
Content-Type:application/json
Accept-Encoding:gzip, deflate
But Extractions/ExtractedFiles is giving full list of files (historical and current day) every time we do this call will cause duplicate downloads, Is there a way to get output files by date / any other API call which looks for current day extractions and download the available files.