wordpress_api 0.2.0 copy "wordpress_api: ^0.2.0" to clipboard
wordpress_api: ^0.2.0 copied to clipboard

outdated

A WordPress REST API client for dart with support for WooCommerce and custom namespaces.

example/wordpress_api_example.dart

import 'package:wordpress_api/wordpress_api.dart';

Future<void> main() async {
  final wp = WordPressAPI('dart-wp.dhmgroup.dev');
  final posts = await wp.getPosts();
  for (final post in posts) {
    // ignore: avoid_print
    print(post.title['rendered']);
  }
}
99
likes
0
pub points
76%
popularity

Publisher

verified publisherdhmgroup.net

A WordPress REST API client for dart with support for WooCommerce and custom namespaces.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, json_annotation, logger, meta

More

Packages that depend on wordpress_api