jmixclientv1 1.0.9 copy "jmixclientv1: ^1.0.9" to clipboard
jmixclientv1: ^1.0.9 copied to clipboard

Library to comunicate with jmix 1.x rest api

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

0
likes
130
pub points
15%
popularity

Publisher

unverified uploader

Library to comunicate with jmix 1.x rest api

Repository (GitHub)
View/report issues

Topics

#http #network #jmix

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on jmixclientv1