33[ ![ CI] ( https://github.com/Xquik-dev/x-twitter-scraper-java/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Xquik-dev/x-twitter-scraper-java/actions/workflows/ci.yml )
44[ ![ OpenSSF Best Practices] ( https://www.bestpractices.dev/projects/13735/badge )] ( https://www.bestpractices.dev/projects/13735 )
55
6- Use the Xquik Java SDK for Twitter search, timelines, profiles & followers.
7- Manage media, webhooks & X automation with typed Java methods.
8- It provides a Twitter API alternative through documented Xquik REST routes.
6+ Search Twitter, read timelines, fetch profiles & export followers with Xquik.
7+ Use typed Java methods for media, webhooks & X automation.
98
10- [ API Reference] ( https://docs.xquik.com/api-reference/overview ) | [ Authentication] ( https://xquik.com/auth.md ) | [ Javadocs] ( https://javadoc.io/doc/com.xquik.api/x-twitter-scraper-java )
9+ [ API Reference] ( https://docs.xquik.com/api-reference/overview ) | [ Authentication] ( https://xquik.com/auth.md ) | [ Javadocs] ( https://javadoc.io/doc/com.xquik.api/x-twitter-scraper-java-core )
1110
1211<!-- x-release-please-start-version -->
1312
14- [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.xquik.api/x-twitter-scraper-java )] ( https://central.sonatype.com/artifact/com.xquik.api/x-twitter-scraper-java/0.10.2 )
15- [ ![ Javadocs] ( https://javadoc.io/badge2/com.xquik.api/x-twitter-scraper-java/0.10.2 /javadoc.svg )] ( https://javadoc.io/doc/com.xquik.api/x-twitter-scraper-java/0.10.2 )
13+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.xquik.api/x-twitter-scraper-java )] ( https://central.sonatype.com/artifact/com.xquik.api/x-twitter-scraper-java/0.10.3 )
14+ [ ![ Javadocs] ( https://javadoc.io/badge2/com.xquik.api/x-twitter-scraper-java-core /0.10.3 /javadoc.svg )] ( https://javadoc.io/doc/com.xquik.api/x-twitter-scraper-java-core /0.10.3 )
1615
1716<!-- x-release-please-end -->
1817
19- ## Choose the Java SDK
18+ ## Java Client
2019
21- Choose this client for Java services using builders and typed models.
20+ Use this SDK for Java services with builders and typed models.
2221Use synchronous calls or ` client.async() ` for ` CompletableFuture ` pipelines.
2322
2423## Common Twitter & X Tasks
2524
26- Map each task to its REST route and Java service.
27-
2825| Task | REST Route | Java Service |
2926| --- | --- | --- |
30- | Search tweets without the X API | ` GET /x/tweets/search ` | ` client.x().tweets() ` |
27+ | Run an advanced Twitter search | ` GET /x/tweets/search ` | ` client.x().tweets() ` |
3128| Retrieve tweets, threads, replies, or quotes | ` GET /x/tweets/{id} ` , ` GET /x/tweets/{id}/thread ` | ` client.x().tweets() ` |
3229| Search X or Twitter users | ` GET /x/users/search ` | ` client.x().users() ` |
3330| Scrape an X profile timeline | ` GET /x/users/{id}/tweets ` | ` client.x().users() ` |
@@ -55,7 +52,7 @@ Map each task to its REST route and Java service.
5552Gradle:
5653
5754``` kotlin
58- implementation(" com.xquik.api:x-twitter-scraper-java:0.10.2 " )
55+ implementation(" com.xquik.api:x-twitter-scraper-java:0.10.3 " )
5956```
6057
6158Maven:
6461<dependency >
6562 <groupId >com.xquik.api</groupId >
6663 <artifactId >x-twitter-scraper-java</artifactId >
67- <version >0.10.2 </version >
64+ <version >0.10.3 </version >
6865</dependency >
6966```
7067
@@ -96,7 +93,7 @@ export X_TWITTER_SCRAPER_API_KEY="your-api-key"
9693
9794OAuth users can set ` X_TWITTER_SCRAPER_BEARER_TOKEN ` instead.
9895
99- Create 1 client and reuse it:
96+ Create one client and reuse it:
10097
10198``` java
10299import com.x_twitter_scraper.api.client.XTwitterScraperClient ;
@@ -105,7 +102,7 @@ import com.x_twitter_scraper.api.client.okhttp.XTwitterScraperOkHttpClient;
105102XTwitterScraperClient client = XTwitterScraperOkHttpClient . fromEnv();
106103```
107104
108- You can also pass credentials directly:
105+ Pass credentials directly when needed :
109106
110107``` java
111108XTwitterScraperClient client = XTwitterScraperOkHttpClient . builder()
@@ -123,7 +120,7 @@ Supported client settings:
123120
124121System properties override environment variables.
125122
126- ## Search Posts
123+ ## Search Tweets
127124
128125``` java
129126import com.x_twitter_scraper.api.models.x.tweets.TweetSearchParams ;
@@ -165,7 +162,7 @@ XTwitterScraperClient client = XTwitterScraperOkHttpClient.builder()
165162 .build();
166163```
167164
168- Xquik may return a successful HTTP response with a structured API error . Handle its documented code .
165+ Successful HTTP responses can contain structured API errors . Handle documented codes .
169166
170167## Read Raw Responses
171168
0 commit comments