We use the Google Drive REST API to export Google Sheets as PDF. We are NOT using Google Script.
https://developers.google.com/drive/v3/web/manage-downloads#downloading_google_documents
It works, but is there a way of specifying extra options, such as the paper orientation?
It is possible when using the Google Sheets app with the File > Download as menu.