Loading
Loading
https://api.apifreaks.com/v1.0/screenshot
1. Open the Authorizations dropdown and Verify your API key.
2. Click Run to see the live response here.
$ pip install requestsimport requests
import json
url = "https://api.apifreaks.com/v1.0/screenshot"
payload = json.dumps({
"urls": [
{
"url": "https://whoisfreaks.com/",
"file_type": "gif",
"width": 3840,
"height": 2160,
"fresh": true,
"image_quality": 100,
"scrolling_screenshot": true,
"duration": 10
}
]
})
headers = {
'Content-Type': 'application/json',
'X-apiKey': ''
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)