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

outdated

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
30
pub points
0%
popularity

Publisher

verified publisherpowertic.com

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