Dynamically selecting field from api response

I am trying to store data from the slush pool api. When you get the response they have then names of your workers “user.workername” as part of the json object and not in a field within the object. Does anyone know how to dynamically search fields like this. I need to save the info in the call broken out by the “workername”

Sample response

I essential need to store “username.worker1.hash_rate_scoring” to my data type “worker_logs” where worker = worker1

You cannot really. The issue is this API return a dictionnary. There’s a lot of topics on the forum about this kind of API limitations.

If you set text instead of JSON for the response type, you can use regex.