ThousandEyes SDKs Overview

The ThousandEyes SDKs are generated from the ThousandEyes API OpenAPI specification to simplify API development. These libraries are open source and community-supported.

While you can make direct HTTP requests to the ThousandEyes APIs using any programming language or REST API client, an SDK can handle common tasks such as authentication, error handling, retries, and pagination, allowing you to focus on your use case.

Features

  • Generated from the ThousandEyes API OpenAPI specification.
  • Automatic error handling and retries.
  • Built-in pagination support.

Authentication

Obtain a bearer token from the ThousandEyes dashboard. For more information, see Obtaining your Bearer Token.

Python Library

The ThousandEyes API Python library, thousandeyes-sdk-python, provides Python clients for the ThousandEyes API v7. It supports Python 3.7+ and can be installed using pip or setuptools.

For installation and usage instructions, see the thousandeyes-sdk-python GitHub repository.

Java Library

The ThousandEyes API Java library, thousandeyes-sdk-java, provides Java clients for the ThousandEyes API v7. Building the library requires Java 11+ and Maven or Gradle.

For installation and usage instructions, see the thousandeyes-sdk-java GitHub repository.

Go Library

The ThousandEyes API Go library, thousandeyes-sdk-go, provides Go clients for the ThousandEyes API v7.

For installation and usage instructions, see the thousandeyes-sdk-go GitHub repository. If you are upgrading from the v2 client for API v6, see the v2 to v3 migration guide.