woo_commerce_api_dart 0.0.3 copy "woo_commerce_api_dart: ^0.0.3" to clipboard
woo_commerce_api_dart: ^0.0.3 copied to clipboard

Woo Commerce Api Package For Dart

example/main.dart

import 'package:woo_commerce_api_dart/woo_commerce_api.dart';

void main() {
  final wcApi = WooCommerceAPI(
      "http://www.bookinthecity.com", "ck_xxxxxxxxx", "cs_xxxxxxxxx");

  wcApi.getAsync('products/categories').then((response) {
    print(response);
  });

  wcApi.postAsync('customers', {
    "email": 'john.doe@example.com',
    "first_name": 'John',
    "last_name": 'Doe',
    "username": 'john.doe',
    "password": 'xxxx'
  }).then((response) {
    print(response);
  });
}
1
likes
20
pub points
30%
popularity

Publisher

unverified uploader

Woo Commerce Api Package For Dart

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, flutter, http

More

Packages that depend on woo_commerce_api_dart