pxweb_parse_response function

Parse the response from a PXWEB API (advanced)