cosmosdb 0.0.4 copy "cosmosdb: ^0.0.4" to clipboard
cosmosdb: ^0.0.4 copied to clipboard

API client to interact with the CosmosDB SQL-API by its REST API in Dart

example/example.md

import 'package:cosmosdb/cosmosdb.dart';

void main() {
    final cosmosDB = CosmosDB(
      masterKey: '<YOUR_MASTER_KEY>',
      baseUrl: '<YOUR_BASE_URL>',
    );
    // get all documents from a collection
    final documents = cosmosDB.documents.list('<YOUR_DATABASE>', '<YOUR_COLLECTION>');
    print(documents);
}
4
likes
140
points
28
downloads

Publisher

verified publisherjonasfranz.de

Weekly Downloads

API client to interact with the CosmosDB SQL-API by its REST API in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

crypto, http, universal_io

More

Packages that depend on cosmosdb