mdm_manage_engine_client 0.1.0 copy "mdm_manage_engine_client: ^0.1.0" to clipboard
mdm_manage_engine_client: ^0.1.0 copied to clipboard

Dart client api for communicating with the MDM Manage Engine private appstore.

MDM Manage Engine Client #

This package provides a Dart client for the Manage Engine MDM API. Check the official documentation for more information on how to use the API: https://www.manageengine.com/mobile-device-management/api/

It is important to note that this package is not officially supported by Manage Engine, and I am not affiliated with them in any way. This package was created to help developers interact with the Manage Engine MDM API in Dart projects.

Usage #

A simple usage example:

import 'package:mdm_manage_engine_client/mdm_manage_engine_client.dart';

void example() async {
  final controller = ManageEngineController(
    manageEngineChannel: ManageEngineChannel.europe,
  );

  final response = await controller.call(request: (clients) async {
    final response = await clients.v2.authenticationClient.generateGrantToken(
      GrantTokenRequestDto(
          // fill the request dto
          ),
    );

    return response;
  });

  final dataOr = response.when((data) {
    // handle success
  }, (error) {
    // handle error
  });
}

Many Request and Response DTOs still remain untested and may not work as expected. If you find any issues or experience any difficulties, please open an issue or a pull request.

2
likes
130
points
28
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Dart client api for communicating with the MDM Manage Engine private appstore.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

freezed_annotation, http, json_annotation

More

Packages that depend on mdm_manage_engine_client