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 |
GetMetatags200Response getMetatags(url)
Retrieve the metatags for a URL
Retrieve the metatags for a URL.
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');
}
Name | Type | Description | Notes |
---|---|---|---|
url | String | The URL to retrieve metatags for. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]