Python
import requests url = "https://www.datalab.to/api/v1/thumbnails/{lookup_key}" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "thumbnails": [ "<string>" ], "success": true, "error": "<string>" }
Successful Response
A list of base64 encoded thumbnail images. Images are in JPG format. Set to None when there is an error.
Whether the request was successful.
If the request was not successful, this will contain an error message.
Was this page helpful?