metadata_fetch 0.4.1 icon indicating copy to clipboard operation
metadata_fetch: ^0.4.1 copied to clipboard

A dart library for extracting metadata on web pages such as OpenGraph, Meta, Twitter Cards, and Structured Data (Json-LD)

example/main.dart

import 'package:metadata_fetch/metadata_fetch.dart';

void main() async {
  var data = await MetadataFetch.extract(
      'https://flutter.dev'); // returns a Metadata object
  print(data); // Metadata.toString()
  print(data?.title); // Metadata.title
  print(data?.toMap()); // converts Metadata to map
  print(data?.toJson()); // converts Metadata to JSON
}
78
likes
120
pub points
92%
popularity

Publisher

unverified uploader

A dart library for extracting metadata on web pages such as OpenGraph, Meta, Twitter Cards, and Structured Data (Json-LD)

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

html, http, string_validator

More

Packages that depend on metadata_fetch