cancel
Showing results for 
Search instead for 
Did you mean: 

HANA XS Javascript example for using Google analytics Reporting API

gary_king2
Participant
0 Kudos
241

I have been trying to find an example of HANA XS Javascript (server side Javascript) specifically to extract data using the Google Analytics Reports API.

Any links would be greatly appreciated.

I am surprised that I have not been able to find any example code so far though.

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

you will need to create a destination xshttpdest file similar to this: https://help.sap.com/docs/SAP_HANA_PLATFORM/d89d4595fae647eabc14002c0340a999/d9ed319b25a644799eac5dc... or .... https://developers.sap.com/tutorials/xsa-xsjs-access-external-service.html

make sure your environment is able to make outbound connectivity calls.

if you have access to HANA XSA you should do this in NodeJs instead of XSJS.