I know that Arduino does NOT yet support x-device access to Things/variables etc, and looking through the forum and the docs it seems that the best way is to use Arduino IoT Cloud API
Ive used GET requests with Arduino before to pull info from Dynamo, or weather data - does anyone have an example of pulling data using GET from arduino IOT - I cant even post my code as Ive deleted it, monkeyed with it so many times that I just dont want to get flamed!
Surely there must be a simlpe "heres how you get a value from Arduino IOT .. TO and arduino" (not to a webpage etc).
OK - this has moved me massively forward -so thanks so much again! Curl worked fine with a slight tweak to the URL.
Two things:
My token expiry is saying 300! that seems rediculously short - As im only looking to hit the API every 5mins - that means I have to generate a new token each time? Is there a way of increasing that?
Are there any examples of this curl transposed into C for Arduino? or any libraries that do this? Ive fuond quite a few examples - but this surely must be common and standard? It has been a few years since I was a progammer by trade - so the old cobwebs are a bit in the way!