contentchef_dart 1.0.0 copy "contentchef_dart: ^1.0.0" to clipboard
contentchef_dart: ^1.0.0 copied to clipboard

outdated

The headless CMS designed to accelerate the success of any digital experience. This is the client for any dart/flutter applications.

example/contentchef_dart_example.dart

import 'dart:convert';

import 'package:contentchef_dart/contentchef_dart.dart';

void main() async {
  var configuration = Configuration(spaceId: 'yours-spaceId');

  var contentChef = ContentChef(configuration: configuration);

  try {
    var result = await contentChef
      .getPreviewChannel(apiKey: 'test-api-key', status: PublishingStatus.stage, publishingChannel: 'your-channel-mnemonicId')
      .searchContents(filters: SearchContentsFilters(skip: 0, take: 10));
      print(jsonEncode(result));
  } catch (e) {
    print(e);
  }
}
5
likes
0
pub points
0%
popularity

Publisher

verified publishercontentchef.io

The headless CMS designed to accelerate the success of any digital experience. This is the client for any dart/flutter applications.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (LICENSE)

Dependencies

http, meta

More

Packages that depend on contentchef_dart