I'm trying to create a simple program to read the api data from ThingSpeak.
This is what the data looks like, I only need the last two values , field1 and field2.
Is the code. I am however getting "not found" for both values.
My suspicion is the reader is only taking the first field1 and field2 from the api but I only need the end part.
I've looked all over at things such as splitting the data but none of the online demos seem to help.
Any help would be most appreciated as I am almost pulling my hair out at this point.