Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.33 KB

MetatagsApi.md

File metadata and controls

57 lines (37 loc) · 1.33 KB

dub.api.MetatagsApi

Load the API package

import 'package:dub/api.dart';

All URIs are relative to https://api.dub.co

Method HTTP request Description
getMetatags GET /metatags Retrieve the metatags for a URL

getMetatags

GetMetatags200Response getMetatags(url)

Retrieve the metatags for a URL

Retrieve the metatags for a URL.

Example

import 'package:dub/api.dart';

final api = Dub().getMetatagsApi();
final String url = https://dub.co; // String | The URL to retrieve metatags for.

try {
    final response = api.getMetatags(url);
    print(response);
} catch on DioException (e) {
    print('Exception when calling MetatagsApi->getMetatags: $e\n');
}

Parameters

Name Type Description Notes
url String The URL to retrieve metatags for.

Return type

GetMetatags200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]