I'm with @DamianMontero post #3 on this one. Although a bit of additional code to write and deploy, IMHO it will be far easier to tap in to the myriad of examples, using Python, PHP or my choice Go to access the Calendar app with a web service created using Google AppEngine for instance, and return a well formed data payload in Json format to a simple http request from the Espruino device. Allows for the authentication using their proven examples and also allows to create a user defined payload stripping out the unnecessary. My 0.02 worth
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thr 2019.10.17
I'm with @DamianMontero post #3 on this one. Although a bit of additional code to write and deploy, IMHO it will be far easier to tap in to the myriad of examples, using Python, PHP or my choice Go to access the Calendar app with a web service created using Google AppEngine for instance, and return a well formed data payload in Json format to a simple http request from the Espruino device. Allows for the authentication using their proven examples and also allows to create a user defined payload stripping out the unnecessary. My 0.02 worth