Embeddable feed widget script
curl --request GET \
--url https://api.turos.app/v1/embed/widget.jsimport requests
url = "https://api.turos.app/v1/embed/widget.js"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/widget.js', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Embed
Embeddable feed widget script
Public embeddable feed widget script that renders the situations feed into a host element.
GET
/
v1
/
embed
/
widget.js
Embeddable feed widget script
curl --request GET \
--url https://api.turos.app/v1/embed/widget.jsimport requests
url = "https://api.turos.app/v1/embed/widget.js"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.turos.app/v1/embed/widget.js', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Response
Successful response
The response is of type object.