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>" }
Documentation IndexFetch the complete documentation index at: https://documentation.datalab.to/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://documentation.datalab.to/llms.txt
Use this file to discover all available pages before exploring further.
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?