I\'m trying to automatise the exporting of Salesforce Reports as CSV\'s, so far I\'ve managed to authenticate in the Salesforce API but I couldn\'t find any proper documentation
If you're authenticated (got session id back) you're almost there.
The hacky, not officially supported way is to send a GET request to the report export just like user would click a button. Check out How to download a report as a CSV directly from Salesforce Lightning? or Salesforce: Download Reports via URL in R examples (it's not Java but same principle). You'd have to send header that sets cookie with sid=sesionidgoeshere
.
The more official way would be to use the reporting API