Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.74 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.74 KB

Metatags

(metatags)

Overview

Available Operations

  • get - Retrieve the metatags for a URL

get

Retrieve the metatags for a URL.

Example Usage

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

Parameters

Parameter Type Required Description
request ::OpenApiSDK::Operations::GetMetatagsRequest ✔️ The request object to use for the request.

Response

T.nilable(::OpenApiSDK::Operations::GetMetatagsResponse)