wordpress_api 1.2.0+1 copy "wordpress_api: ^1.2.0+1" to clipboard
wordpress_api: ^1.2.0+1 copied to clipboard

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';

void main() async {
  final api = WordPressAPI('wp-site.domain');
  final posts = await api.posts.fetch();

  //ignore: avoid_print
  print(posts.data);
}
99
likes
155
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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, dio, html, logger

More

Packages that depend on wordpress_api