DartJmixClientV1

Github pipeline status

GitHub repo size GitHub code size in bytes

GitHub commit activity GitHub Downloads (all assets, all releases)

pub package package publisher

Library to comunicate with jmix 1.x rest api

Instalation

Install package into dart

dart pub add jmixclientv1

Install package into flutter

flutter pub add jmixclientv1

Examples

Make and http request

import 'package:http/http.dart';

Future<void> main() async {
  final JmixClient jmixClient = JmixClient(
    protocol: String.fromEnvironment('JMIX_PROTOCOL'),
    hostname:
        String.fromEnvironment('JMIX_HOSTNAME'),
    port: int.fromEnvironment('JMIX_PORT'),
    clientId:
        String.fromEnvironment('JMIX_CLIENT_ID'),
    clientSecret: String.fromEnvironment('JMIX_CLIENT_SECRET')
  );
  final Session session = await jmixClient.getAccessToken(username: 'admin', password: 'admin');
  print(session.toMap());
}

Follow me

YouTube GitHub LinkedIn

LICENSE

GitHub License

Version

GitHub Tag GitHub Release

Last update 27/08/2024

Libraries

jmixclientv1
Support for doing something awesome.