first, to decode the response, you need the corresponding protobuf file that matches the api response schema. And then by installing the protobuf tool, you can use the protobuf compiler to generate a python class that can read the binary data.