The Scala SDK is available as a public beta. Do not use the SDK in production systems.
In this article:
The Python Software Development Kit (SDK)
The Cognite Python library requires Python 3.5+ and provides access to the Cognite Data Fusion API from applications written in the Python language. For detailed information, see the Cognite Python SDK Documentation.
To download and install Python, visit Python.org.
To install the Cognite Python library:
pip install cognite-sdk
yarn add @cognite/sdk
Or with npm:
npm install @cognite/sdk --save
What to do next?
The Beta Scala Software Development Kit (SDK)
The Scala SDK is available for Scala 2.11, 2.12, and 2.13, and provides access to the Cognite Data Fusion API from applications written in the Scala language.
The SDK is currently in public beta, and we recommended that you don't use it in production systems. Visit the GitHub repository to follow the progress and to request features.
Visit the Maven Repository to see the available versions.
In the following examples, replace
x.y.z with the version you want to use.
To use the SDK with sbt, add the following to your
libraryDependencies += "com.cognite" %% "cognite-sdk-scala" % "x.y.z"
To build your project with Apache Maven, add the following to your
2.13 to match the version of the Scala SDK you're using:
<dependency> <groupId>com.cognite</groupId> <artifactId>cognite-sdk-scala_2.13</artifactId> <version>x.y.z</version> </dependency>
To import the SDK if you are using Ammonite as an interactive shell:
import $ivy.`com.cognite::cognite-sdk-scala:x.y.z` import com.cognite.sdk.scala.v1._
See our GitHub repository for examples and more information about the Scala SDK.