Data collection script

Hello, im trying to download the sentinel data as tiff format using a python script , but i couldnt find the right api to do so , process api provides img in png format not in tiff with the documentation available.
if someone can help im it would be great.
thank you

See this example: