cURL
curl -X GET "https://api.sitespy.app/api/v1/watch/095be615-a8ad-4c33-8e9c-c7612fbf6c9f/favicon" \
-H "x-api-key: YOUR_API_KEY" \
--output favicon.icoimport requests
headers = {'x-api-key': 'YOUR_API_KEY'}
uuid = '095be615-a8ad-4c33-8e9c-c7612fbf6c9f'
response = requests.get(f'https://api.sitespy.app/api/v1/watch/{uuid}/favicon', headers=headers)
with open('favicon.ico', 'wb') as f:
f.write(response.content)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/favicon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"Favicon
Get watch favicon
Get the favicon for a web page change monitor (watch) as displayed in the watch overview list.
GET
/
watch
/
{uuid}
/
favicon
cURL
curl -X GET "https://api.sitespy.app/api/v1/watch/095be615-a8ad-4c33-8e9c-c7612fbf6c9f/favicon" \
-H "x-api-key: YOUR_API_KEY" \
--output favicon.icoimport requests
headers = {'x-api-key': 'YOUR_API_KEY'}
uuid = '095be615-a8ad-4c33-8e9c-c7612fbf6c9f'
response = requests.get(f'https://api.sitespy.app/api/v1/watch/{uuid}/favicon', headers=headers)
with open('favicon.ico', 'wb') as f:
f.write(response.content)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/favicon', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));"<string>"
