jmixclientv1

Last updated:

0 purchases

jmixclientv1 Image
jmixclientv1 Images
Add to Cart

Description:

jmixclientv1

DartJmixClientV1 #







Library to comunicate with jmix 1.x rest api
Instalation #
Install package into dart
dart pub add jmixclientv1
copied to clipboard
Install package into flutter
flutter pub add jmixclientv1
copied to clipboard
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());
}
copied to clipboard
Follow me #



LICENSE #

Version #


Last update 27/08/2024

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.