How to do Real time Monitoring of an API feed and execute a function when a variable exceeds x?
I want to monitor API feeds like the one below (in as close to real time as possible, pulled every e.g. 60 seconds) for instances of e.g. the variable "total" and alert me/execute a macro of my choice when instances of "total" exceed e.g. 100. I'm looking for a working example using any means. I'm willing to tip £15 worth of bitcoins for the working example.
I'm a beginner I understand things such as functions/macros (from autohotkey), html & css. This is the most complex thing that I've attempted so far so please keep things as simple as possible .
I can't type urls yet
syntax/format:
Code:
[{
"count":"100",
"trades":[{
"type":"1",
"price":"0.00000023",
"amount":"412128.80177019",
"total":"0.09478962",
"time":"1394498289.2727"
},
...
}]