matrix_api_lite 0.3.1 matrix_api_lite: ^0.3.1 copied to clipboard
Dead simple data model for the matrix.org client-server API.
example/matrix_api_lite_example.dart
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());
}