nextcloud 8.0.0 copy "nextcloud: ^8.0.0" to clipboard
nextcloud: ^8.0.0 copied to clipboard

A Nextcloud API client written in Dart supporting all maintained Nextcloud server versions.

example/example.dart

import 'package:nextcloud/nextcloud.dart';
import 'package:nextcloud/provisioning_api.dart';

Future<void> main() async {
  final client = NextcloudClient(
    Uri.parse('http://localhost'),
    loginName: 'admin',
    password: 'admin',
  );

  final response = await client.provisioningApi.users.getCurrentUser();
  print(response.body.ocs.data.id); // Will print `admin`
}
24
likes
0
points
497
downloads

Publisher

unverified uploader

Weekly Downloads

A Nextcloud API client written in Dart supporting all maintained Nextcloud server versions.

Homepage
Repository (GitHub)
View/report issues

Topics

#nextcloud #openapi #webdav

License

unknown (license)

Dependencies

built_collection, built_value, collection, crypto, crypton, dynamite_runtime, http, logging, meta, string_scanner, timezone, universal_io, uri, version, xml, xml_annotation

More

Packages that depend on nextcloud