(metatags)
- get - Retrieve the metatags for a URL
Retrieve the metatags for a URL.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.metatags.get(request={
"url": "https://dub.co",
})
assert res is not None
# Handle response
print(res)
Parameter | Type | Required | Description |
---|---|---|---|
request |
operations.GetMetatagsRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetMetatagsResponseBody
Error Type | Status Code | Content Type |
---|---|---|
errors.SDKError | 4XX, 5XX | */* |