Download Images
You can download images in jpeg, svg, and png formats using the E-Commerce and Web Scraper APIs.
If you do that through Proxy Endpoint, you can simply save the output to image extension, for example:
If you are using the Push-Pull or Realtime integration methods, you will need to add the content_encoding
parameter with a value of base64
. Once you receive the results, you need to decode encoded data from content
into bytes and save it as an image file.
Please find an example in Python below.
Last updated