wordpress_api 0.3.0+1 wordpress_api: ^0.3.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.com');
final List<Post> posts = await api.getPosts();
for (var post in posts) {
print(post.title);
}
}