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 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 client
A Python client that abstracts REST details with a well-documented API.
Install
pip install nameapi-client-pythonDevelopment 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.txtPHP client
A PHP library providing typed abstraction over REST.
Composer
"require": {
"optimaize/nameapi-client-php": "dev-master"
}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.
Need a hand getting started?
We're happy to walk you through library setup, API key provisioning, and a first integration.