dhmgroup / dart-wp

A WordPress API client for dart with support for WooCommerce and custom namespaces.
https://pub.dev/packages/wordpress_api
BSD 3-Clause "New" or "Revised" License
79 stars 28 forks source link
dart dart-package dart-vm dartlang flutter flutter-plugin woocommerce wordpress

WordPress REST API client for Dart | Flutter

All Contributors

GitHub stars Pub Build Status Maintenance

Description

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

Features

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  wordpress_api: <latest_version>

Usage

import 'package:wordpress_api/wordpress_api';
  WordPressAPI api = WordPressAPI('wp-site.com');
  void main() async {
    final api = WordPressAPI('wp-site.com');
    final WPResponse res = await api.get(endpoint: 'your-custom-endpoint');
    print(res.data);
  }

ToDo

Contributions are welcome, report any issues here

Special Thanks

Contributors ✨

Thanks goes to these wonderful people (emoji key):

anKii
anKii

💻
Kellvem Barbosa
Kellvem Barbosa

💻
NKlage
NKlage

💻 🐛
Elikem (Junior) Medehou
Elikem (Junior) Medehou

💻
Okan Demir
Okan Demir

💻

This project follows the all-contributors specification. Contributions of any kind welcome!