RelayAPI

SDKs

Official SDKs and client libraries for the RelayAPI.

Official SDKs

Node.js / TypeScript

npm install @relayapi/sdk
import Relay from '@relayapi/sdk';

const client = new Relay(); // reads RELAY_API_KEY from environment

GitHub · npm

Python

pip install relay
from relay import Relay

client = Relay()  # reads RELAY_API_KEY from environment

GitHub · PyPI

Go

go get github.com/relayapi-dev/relay-go
import relaygo "github.com/relayapi-dev/relay-go"

client := relaygo.NewClient() // reads RELAY_API_KEY from environment

GitHub

Java

implementation("dev.relayapi:relay-java:0.0.1")
<dependency>
  <groupId>dev.relayapi</groupId>
  <artifactId>relay-java</artifactId>
  <version>0.0.1</version>
</dependency>
import dev.relayapi.api.client.RelayClient;
import dev.relayapi.api.client.okhttp.RelayOkHttpClient;

RelayClient client = RelayOkHttpClient.fromEnv(); // reads RELAY_API_KEY from environment

GitHub

REST API

You can also use the API directly with any HTTP client. See the API Reference for full endpoint documentation.

OpenAPI Specification

The full OpenAPI 3.1.0 specification is available at:

Use the spec to generate client libraries in any language using tools like OpenAPI Generator.

Found something wrong? Help us improve this page.

On this page

Submit an Issue
Requires a GitHub account.View repo