Depends on what you want to do with the numbers. For example, do you want a separate variable for each number in the array or do you want to, say, average all values in the array?
strtol(). When you say, "array", I assume you really mean the string you are showing us. Some of those values won't fit in an int type. But I am probably assuming too much. Is this "API" running on a PC? Is there an Arduino involved?
grainy:
that seem helpful
can you recommend a site where this function is well explained?
That "Api" runs on a router. And the values are the current data throughput to the internet.
strtol() is documented in any decent C++ reference, and you can find it here. You have to parse the string to extract the numbers, you can do that with strtok(). Remember to use the long or unsigned long data type, int is too small.