Skip to main content

Babel Street Analytics API

Client Libraries

You can use the Analytics API by making direct HTTP requests or you can use your preferred programming language. On Octocat.png GitHub we provide free bindings in Python, PHP,  Java, JavaScript, C#, Ruby, and R.

Python

pip install rosette_api

The Python client library can be installed via pip. The source code is available on Github.

Small example programs for each endpoint are available in the examples directory.

PHP

composer require "rosette/api"

The PHP client libary can be installed via composer. The source code is available on Github.

Small example programs for each endpoint are available in the examples directory.

Java

<dependency>
    <groupId>com.basistech.rosette</groupId>
    <artifactId>rosette-api</artifactId>
    <version>${rosette.api.java.binding.version}</version>
</dependency>

The Java client library can be accessed through Maven. The source code is available on Github.

Set ${rosette.api.java.binding.version} in the <properties> block. The latest version available is displayed in the Maven Central badge at the top of the Github page.

Small example programs for each endpoint are available in the examples directory.

Ruby

gem install rosette_api

Install the module through gem.

Small example programs for each endpoint are available in the examples directory.

C#

dotnet add package rosette_api.net

This is intended to be a replacement for the C# binding. Although it is written in C#, it targets .Net Core 2 rather than Framework.

Small example programs for each endpoint are available in the examples directory.

JavaScript

npm install rosette-api

The Node.js client library can be installed via npm. The source code is available on Github.

Small example programs for each endpoint are available in the examples directory.