mautic_api 1.0.7 copy "mautic_api: ^1.0.7" to clipboard
mautic_api: ^1.0.7 copied to clipboard

Dart and Flutter Package Wrapper for Native Mautic REST API using Basic Authentication

example/example.dart

import 'package:mautic_api/mautic_api.dart';

void main() async {
  ///
  final api =
      MauticAPI('https://yourmauticaddress.com', 'username', 'password');

  var user = await api.getCurrentUser();

  print(user.id);
  print(user.firstName);
  print(user.lastName);
  print(user.email);
  print(user.onlineStatus);

  print('cached request?: ' + api.isCachedData.toString());
}
1
likes
40
points
20
downloads

Publisher

verified publisherpowertic.com

Weekly Downloads

Dart and Flutter Package Wrapper for Native Mautic REST API using Basic Authentication

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

convert, crypto, http, meta

More

Packages that depend on mautic_api