(metatags)
- get - Retrieve the metatags for a URL
Retrieve the metatags for a URL.
require 'dub'
s = ::OpenApiSDK::Dub.new
s.config_security(
::OpenApiSDK::Shared::Security.new(
token: "DUB_API_KEY",
)
)
req = ::OpenApiSDK::Operations::GetMetatagsRequest.new(
url: "https://dub.co",
)
res = s.metatags.get(req)
if ! res.object.nil?
# handle response
end
Parameter | Type | Required | Description |
---|---|---|---|
request |
::OpenApiSDK::Operations::GetMetatagsRequest | ✔️ | The request object to use for the request. |