mdm_manage_engine_client 0.1.0
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.