Customer:
I have an Inkplate 10 and want to display a shared Google Sheets table on the display with regular updates. The existing HTTP Request example doesn’t work for this. How can I do this?
Originally submitted via email support on 18 July 2024. Migrated to the forum for community visibility.
Soldered Support:
The HTTP request example only shows how to GET a single resource from the internet. You would need to research the Google Sheets API to see how to GET table data and unpack it with the ArduinoJSON library, then draw it. Check out the Inkplate10_OpenWeatherStation example to see how weather data is unpacked - you can use that and the HTTP example as a reference for your sketch.
Alternatively, you could render the sheet as an image that fits on the Inkplate display, then GET the image by always fetching it from the same URL, like in the “Show jpg with http client” example.