cognite_cdf_sdk 0.2.0 copy "cognite_cdf_sdk: ^0.2.0" to clipboard
cognite_cdf_sdk: ^0.2.0 copied to clipboard

Read-only SDK for Cognite Data Fusion (CDF) (https://docs.cognite.com/dev/). This SDK is a community project.

example/example.dart

import 'package:cognite_cdf_sdk/cognite_cdf_sdk.dart';
import 'package:dio/adapter.dart';

main() async {
  var apiClient = CDFApiClient(
      project: 'project_name',
      apikey: 'myapi_key',
      baseUrl: 'https://api.cognitedata.com/',
      httpAdapter: DefaultHttpClientAdapter());

  var res = await TimeSeriesAPI(apiClient).getAllTimeSeries();
  if (res != null && res.length >= 1) {
    print(res[0].externalId);
  }
}
1
likes
110
pub points
0%
popularity

Publisher

verified publishergreger.io

Read-only SDK for Cognite Data Fusion (CDF) (https://docs.cognite.com/dev/). This SDK is a community project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

dio, logger, mockito

More

Packages that depend on cognite_cdf_sdk