deepleaf-api-flutter

Package to make use of DeepLeaf's API.

Installation

flutter pub add deepleaf_api_flutter

Then run

flutter pub get

Usage

import 'package:deepleaf_api_flutter/deepleaf_api_flutter.dart';

const String apiKey = "YOUR_API_KEY";

// Initialize DeepLeaf API
final api = DeepleafApiFlutter(
  apiKey: apiKey,
  language: "en"
  );

final response = await api.getAPIUsage();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with flutter documentation