matrix_api_lite 1.7.1 matrix_api_lite: ^1.7.1 copied to clipboard
Dead simple data model for the matrix.org client-server API.
example/matrix_api_lite_example.dart
// @dart=2.9
import 'package:matrix_api_lite/src/matrix_api.dart';
void main() async {
final api = MatrixApi(homeserver: Uri.parse('https://matrix.org'));
final capabilities = await api.requestServerCapabilities();
print(capabilities.toJson());
}