nxfit_sdk 0.0.3 copy "nxfit_sdk: ^0.0.3" to clipboard
nxfit_sdk: ^0.0.3 copied to clipboard

unlisted

The NxFit SDK for Flutter provides access to the NxFit REST API to retrieve user health data from the server. The SDK provides *clients*, which contain convenience methods to make HTTP calls to the Nx [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nxfit_sdk

With Flutter:

 $ flutter pub add nxfit_sdk

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nxfit_sdk: ^0.0.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nxfit_sdk/clients.dart';
import 'package:nxfit_sdk/core.dart';
import 'package:nxfit_sdk/managers.dart';
import 'package:nxfit_sdk/models.dart';
import 'package:nxfit_sdk/repositories.dart';
1
likes
0
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

The NxFit SDK for Flutter provides access to the NxFit REST API to retrieve user health data from the server. The SDK provides *clients*, which contain convenience methods to make HTTP calls to the NxFit API. Models for all the NxFit entities are also provided. To further assist in adoption of the SDK, *managers* and * repositories* are also provided that use caching. The NxFit SDK requires the consuming app to provide a user ID and an access token via the [AuthProvider] interface.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, floor, flutter, http, json_annotation, meta, pretty_dio_logger, retrofit, rxdart, shared_preferences, sqflite, time_machine, uuid

More

Packages that depend on nxfit_sdk