Skip to main content

casama_api 0.1.0 copy "casama_api: ^0.1.0" to clipboard
casama_api: ^0.1.0 copied to clipboard

Generated REST client for the Casama API (dio + json_serializable), used by casama_sdk. Do not edit by hand.

example/example.dart

import 'package:casama_api/casama_api.dart';

/// The generated client; most apps use package:casama_sdk, which adds auth and run streams.
Future<void> main() async {
  final api = CasamaApi(basePathOverride: 'http://localhost:8787');
  final health = await api.getSystemApi().getConfig();
  print(health.data?.productName);
}
0
likes
150
points
174
downloads

Documentation

API reference

Publisher

verified publishercasama.ai

Weekly Downloads

Generated REST client for the Casama API (dio + json_serializable), used by casama_sdk. Do not edit by hand.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

copy_with_extension, dio, json_annotation

More

Packages that depend on casama_api