nextcloud 8.1.0 copy "nextcloud: ^8.1.0" to clipboard
nextcloud: ^8.1.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
110
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
Contributing

Topics

#nextcloud #openapi #webdav

Documentation

API reference

License

AGPL-3.0 (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