wordpress_api 1.2.0+1 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);
}