Client Libraries

Open-source, typed client libraries for our REST APIs.

Each client library connects to our cloud services via REST and gives you a typed, idiomatic programming API on top — abstracting transport details, retries and serialisation. All libraries are open source.

Java & JVM

Java client

Supports Java and JVM languages including Kotlin, Scala and Groovy. The library abstracts REST details and provides a programming API built on the command4j and anythingworks frameworks.

Maven

<dependency>
    <groupId>org.nameapi.client</groupId>
    <artifactId>nameapi-client</artifactId>
    <version>5.4.2</version>
</dependency>

Gradle

implementation 'org.nameapi.client:nameapi-client:5.4.2'
Python

Python client

A Python client that abstracts REST details with a well-documented API.

Install

pip install nameapi-client-python

Development setup

python -m venv myenv
myenv\Scripts\activate
git clone https://github.com/optimaize/nameapi-client-python.git
cd nameapi-client-python
pip install -r requirements.txt
PHP

PHP client

A PHP library providing typed abstraction over REST.

Composer

"require": {
    "optimaize/nameapi-client-php": "dev-master"
}
Anything else

Other languages

For other languages, call our REST endpoints directly over HTTP. We publish the OpenAPI/Swagger specification so you can generate a client for your stack.

Get in touch

Need a hand getting started?

We're happy to walk you through library setup, API key provisioning, and a first integration.