com.x:xdk is the official Java SDK for the X API v2 (Java 17+ and Kotlin). It includes typed models, OAuth 2.0 PKCE and OAuth 1.0a auth, Paginator<T>, and EventStream<T>.
Maven Central
com.x:xdk:0.1.2 · Java 17+GitHub
Source code and issues.
Quick example
Guides
Install
Add
com.x:xdk with Maven or Gradle.Quickstart
Make your first request.
Authentication
Bearer Token, OAuth 2.0 PKCE, and OAuth 1.0a.
Pagination
Iterate pages with
Paginator<T>.Streaming
Read live streams with
EventStream<T>.API Reference
Methods and parameters for each client.